Wow, i tried the tutorial w/o success

I copied the code into a file to play with to see what I could figure out.
below is my failed attempt at getting it to compile. and below that are my errors.
it doesn't recognize the javax.media.j3d or com.sun.j3d.utils
//import Program Files\Java\j2re1.4.0_01
import javax.media.j3d;
import com.sun.j3d.utils;
import java.awt;
import javax.vecmath;
public class HelloJava3Da extends Applet
  ///////////////////////////////class constructor//////////////////////////////
  public HelloJava3Da()
    setLayout(new BorderLayout());
    GraphicsConfiguration config = simpleUniverse.getPreferredConfiguration();
    add("Center", canvas3D);
    BranchGroup Scene = createSceneGraph();
    scene.compile();
    SimpleUniverse simpleU = new simpleUniverse(canvas3D);
    simpleU.addBranchGraph(scene);
  //////////////////////////////Main////////////////////////////////////////////
  public static void main( String args[] )
    Frame frame = new MainFrame(new HelloJava3Da(), 256, 256); 
  //////////////////////////////Methods/////////////////////////////////////////
  public BranchGroup createSceneGraph()
    BranchGroup objRoot = new BranchGroup();
    objRoot.addchild(new ColorCube(0.4));
    return objRoot;
}following are my errors.
HelloJava3Da.java [2:1] package javax.media does not exist
import javax.media.j3d;
                   ^
HelloJava3Da.java [3:1] package com.sun.j3d does not exist
import com.sun.j3d.utils;

OK, for all of those who find my question interesting..... I don't know what my problem was. I just now searched for 1 minute and found the answers I needed.
Developing and using Java3D (using OpenGL):
you need java3D-sdk ___ http://java.sun.com/products/java-media/3D/1.1.3/download.html
You also need OpenGL ( http://www.opengl.org/ )
Using Java3D:
you need java3D jre (samne website... java3d1_1_3-win-opengl-rt.exe, 1.83 MB)
And of course OpenGL.
Greetings,
Q

Similar Messages

  • My ipad says the ios needs seven hours to update. I tried the reboot but no success help!

    THe ios is very slow and says seven hours help me

    Hello steppphhhhh!
    Do you have a PC/Mac?
    If you do, install iTunes and try updating from there. Then try one of the solutions written in the font Arial Black which is at the bottom of this reply.
    Is your internet very slow sometimes?
    If it is, this may be the problem. You'll have to be patient and actually wait that time. Sometimes it doesn't really take that estimated time.
    Where you messing around with anything?
    if you messed around with anything such as jailbreaking/messing around in file viewers in iFunbox or iExplorer, this might be the problem. You might have dine something wrong. As you might know, jailbreaking disables updating your iOS sometimes.
    Try resetting all settings:
    Go to settings>General>reset>reset all Settings..
    This process will NOT erase any data.
    Try a restore from backup:
    Backup your iPad using iTunes/iCloud. Then, reset to factory settings and then restore your iPad from the backup you've backed up. Doing this will automatically update your iPad to the latest version of iTunes, and will un-jailbreak your iPad if it is jailbroken.
    If none of these Work,
    Contact Apple and see if they can help.
    Regards,
    Ab

  • I want to put my old bookmarks onto my new computer. I tried the tutorial but it is looking for an html file not the jnos

    ''Duplicate post, continue here - [/questions/768056]''
    I made a backup file. I sent it to myself from another computer as an email. I can download it but can't open it when I chose import bookmarks. It's looking for a html format.

    What format did you back the bookmarks to?
    If it was a JSON file, use the restore process in the [[Backing up and restoring bookmarks]] article. If it was an HTML file follow the procedure in the [[Importing Bookmarks from an HTML File]] article.

  • On my macbook pro when opening a page i can not save it as a pdf only give me the option of saving it as a web page can any body help me on this I have tryed so many times without success

    on my macbook pro when opening a page on safaryi can not save it as a pdf only give me the option of saving it as a web page can any body help me on this I have tryed so many times without success?

    Just select Print in Safari and then, in the bottom left-hand corner, select PDF and you can save it to whichever flavor pdf file you like.
    Clinton

  • Hi, i am having an issue with a basic motion scroll effect.  I already watched and read every tutorial out there regarding this topic and even tried the adobe chat support, but the guy on the other end of the line disconnected me-, probably he didn't unde

    Hi, i am having an issue with a basic motion scroll effect.
    I already watched and read every tutorial out there regarding this topic and even tried the adobe chat support, but the guy on the other end of the line disconnected me…, probably he didn't understand what i wanted from him because english is not my native language, so a will try to be very, very clear about this one..
    please note, that i am new to muse, this is my first project ever.
    my idea is as following:
    when the customer comes to our companies site, he just sees our logo on a white Background. the logo consists of, say, four elements. when the customer scrolls down, the logo starts to disassamble: first the first part of the logo flies out the left side of the site, then the second part of the logo vanishes down, then the third part of the logo flies to the right, then the fourth part of the logo flies to the top and out of the customers view. given what i have seen, it is possible to do that….
    so…..
    now i have the four parts of my logo imported as png files into muse and assembled them in design view to build our companies logo. I select every one of the four parts and go into the scroll effects tab left beside the layers tab. first i enter the same values for every one of the four parts: initial motion: 0x and 0x again for the left and right motion; key position ( t-handle) : 0px; final motion: 0x and 0x again for the left and right value.
    now i hit "preview".: the logo is "pinned" at the correct position, i can scroll but the logo stays where it is. so far so good….
    now i select all the four elements again and go to the scroll effecs tab. at "final motion", i click the down arrows and enter 1x. I hit Preview…
    when i am scrolling down the WHOLE logo goes down…. so far so good.
    NOW i want the first part of the logo to go down, THEN the second part to go left, THEN the third part to go up, THEN the fourth part to go right.
    so i select ONLY the first part, go to the scroll motion tab, at "final motion" i click the left arrows, then i enter 1x.( the up-down value, i set to 0 again).. i hit Preview…
    the first part of the logo goes left as soon as i start scrolling, the other three parts still go down at the same time…
    NOW i want the second part of the logo to start moving, when the first part has left the scene, not at the same time as the first part.
    SO I SELECT THE SECOND PART AND DRAG ITS T-HANDLE (KEY POSITION) DOWN TO, LETS SAY, 200PX. SO IT STARTS MOVING ONLY AFTER THE CUSTOMER HAS REACHED THAT POINT, RIGHT?
    BUT WHEN I PREVIEW THAT ****, THE LOGO IS NOT TOGETHER ANYMORE, THE SECOND PART IS FLOATING ANYWHERE ELSE BUT WHERE IT SHOULD BE…..WTFF????
    short: when i move the t handle, the initial position of the object changes. thats what i said to the adobe employee, but he said, that thats the expected behavior….
    but if thats so, how can i have my four parts correctly together, so they form my logo, but with different t handles, so that they all start to move at different times??
    Pleeease help me, i am dying of frustration here…..:( that behavior cant be right, right?
    Thanks so much to everyone who actually reads this post and tries to help…….
    All the best,
    Niki Lapan

    Thank you so much for helping,
    But i really wonder how you did that. did you always switch between design view and preview view, then change the key position for 2px then switch back, to align the four letters? because i imagine that can get really frustrating, if you have a logo consisting of 58 parts instead of 4!:)
    Anyway thank you very much for your time and effort!!!!

  • Upon sync or backup, I receive the message, "iTunes could not back up the iPhone "iPhone name" because and error occurred. I have deleted my backup file and tried another computer, with no success.  Also, the bluetooth function stopped working.

    Upon sync or backup, I receive the message, "iTunes could not back up the iPhone "iPhone name" because and error occurred. I have deleted my backup file and tried another computer, with no success.  Also, the bluetooth function stopped working.

    Hi, EJ13. 
    I see you are having issues with backing up you iPhone and have tried a couple troubleshooting steps.  There are a couple more steps I could recommend in the article below. 
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/ts2529
    Regards,
    Jason H. 

  • When I open iWeb it does not "Highlight" the New site or new page options. It ahs had this issue for over a year! I have tried uninstalling and re-installing it. What do I do? It opens the tutorial video, then when you close it, nothing else is clickable.

    When I open iWeb it does not "Highlight" the New site or new page options. It has had this issue for over a year! I have tried uninstalling and re-installing it. What do I do? It opens the tutorial video, then when you close it, nothing else is clickable.

    Open iPhoto, select a couple of photos and use the Share ➙ iWeb ➙ Photo page menu option.  That has jump started iWeb for others.  I could take a couple of tries.
    If that doesn't work try the following:
    1 - delete the iWeb preference file, com.apple.iiWeb.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iWeb folder. 
    Click to view full size
    3 - launch iWeb and try again.
    OT

  • I have an HP Photosmart 7510 & cannot connect by WiFi, I have tried the support fix with no success.

    Hi
    I have an HP Photosmart 7510 & cannot connect by WiFi, I have tried the support fix with no success.
    I have tried the suggested from below;
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02817031&cc=uk&dlc=en&lang=en&lc=en&product=507...
    I have not tried to assign the static IP address suggested in step 6 on the web link above, I am not that technical & do not fully understand how to perform this task & am surprised HP expect retail client to follow this, if is a bit technical I think you must agree.
    Anyway, the WiFi or Wireless blue led is blinking.
    If I try to discover my wireless network, it is not displaye like it used , nor are my neighbors, my mobile Samsung Galaxy S displays my network and my neighbors when the phone in placed by my 7510.
    When  I try to enter the SSID & key, my 7510 times out without connecting to my router.
    My pc is connected directly to my router (Buffalo) and I use a Fujitsu Desktop running Win 7 32bit.
    By the way, I have done a "Factory reset" to my 7510 & this did not help at all.
    Can anyone help?
    Is my 7510 faulty?
    Thanks in advance.

    I saw your post and forwarded it to the right people for their review. You should hear back from someone shortly via private message on this Forum.

  • Classic: will not recharge; apple logo flashes every few seconds then fades away; have tried the 'reboot' advice i.e. move hold switch on and off, hold menu and center button, no success.  have tried this many times and kept connected for several hours.

    I have a classic, several years old.
    It will not recharge; the Apple logo flashes every few seconds then disappears. 
    I have tried the 'reboot' advice i.e. move the Hold switch on and off, hold the Menu and Center buttons, no success. 
    I have tried this many times and kept the ipod connected for several hours.  And I have tried two different cords, one connected to the desktop computer, one connected to electrical outlet.

    Hi enbridge4,
    If your iPod Classic won't charge or turn on, you may find the following articles helpful:
    Apple Support: iPod won't turn on
    http://support.apple.com/kb/ts1383
    Apple Support: iPod's battery doesn't charge
    http://support.apple.com/kb/ta44551
    Regards,
    - Brenden

  • " 3 items could not be synced. See iTunes for more information"  I have searched and I have tried the solutions on the forum. My iPhone has been successfully synced without error and I am trying to sync with new laptop.

    " 3 items could not be synced. See iTunes for more information"  I have searched and I have tried the solutions on the forum. My iPhone has been successfully synced previously on my mac mini without error. I am trying to sync my iPhone with new MacBook Pro.

    Modular77:  With respect the dialog on the iPhone 'XX items could not be synced.  See iTunes for more information.' , would you happen to know where to look in iTunes?  I looked in all the places that seemed logical to me. 
    I am, however, asking only for future reverence, as the initial sync which generated the error dialog was done via USB, and almost immediately after the USB sync, I ran a WiFi Sync—two in a row in fact—both initiated from the iPhone.  Both WiFi syncs completed successfully with no error dialog. 
    I then ran another USB sync initiated from iTunes on the Macintosh, as was the first sync which gave the error. This second USB sync also completed successfully with no errors.
    I think someone in this thread mentioned non-AppleStore products or DMR issues which I think could not have been an issue in my case, as I was running the sync to install updated Apps from the AppStore, and additionally had deleted some music and movie items to make sure there was room for the App updates. Nothing was added other than the recently downloaded App updates from the AppStore. 
    iPhone3GS  iOS 5.1.1 build 9B206. 
              Developer Profile enabled.  iCloud enabled.
              32 GB “disk.” About 1.5 GB free after sync.
              iPhone NOT jailbroken
    MacBook 13-inch Aluminum, Late 2008 (NOT Macbook Pro)
         Lion 10.4.7 build 11E53.  2 GB RAM.
    Thanks for any info or advice.  Problem IS now solved, but it absorbed a lot of time to reach that point.

  • I am trying to link coc between a new ipod and my iPad. The iPad was the old device. I did as I was supposed to by logging in the Game Center, then opening coc, and went thru the tutorial. The Game Center keeps trying to load the new village on my iPad an

    I am trying to link coc between a new ipod and my iPad. The iPad was the old device. I did as I was supposed to by logging in the Game Center, then opening coc, and went thru the tutorial. The Game Center keeps trying to load the new village on my iPad and not the other way around. It basically is trying to make my old village the new village, meaning I lose a lot of progress. How do make it combine the 2? If I cannot, is there a way to remove the new village off the Game Center and add the one I want to be saved? Thank you.

    You'll have to contact the app developer for help with this.

  • Trying to get my iphone5 to backup with icloud. i tried the set up the way the tutorial stats but still when i try it says backup was unable to complete. i have anipad running with the same icloud account and it has no problem. please help.

    trying to set up icloud on my iphone5 and it keeps saying that its unable to complete the back up.. i have it running on my ipad just fine.. please help. i followed all the steps in the tutorial.. thank you

    Hi DesCoop,
    You must initiallly activate iCloud from an IOS device or a Mac. You cannot inititally activated from a PC.
    Sorry.
    GB

  • HT1600 "The update was not successful" when trying to Update Software on my Apple TV

    After downloading for 40+ minutes, it went into step 1 and came back with "The update was not successful".  I have it connected via network cable and not wi-fi.  Is there another way to update that will get me from 5.0.2 (4250) to version 5.1?
    Thanks in advance.

    Hi,
    same storry here.
    I was renting a movie yesterday with  my iPad2 (iOS 5.1) - wanted to AirPlay the video stream from iPad 2 to AppleTV 2 (has the latested OS installed on it) - AppleTV says "not authorized"...
    Tried also everything (e. g. reconnected AppleTV to my ITunes-account..) - nothing worked.
    I AirPlayed a lot of rented movies from ITunes-store over my iPad2 to my AppleTV 2 in the past without any problems....
    I have no idear why this happens now...
    I was also functioning perfect after the recent iOS-update on both devices. So no connection to the new iOS...
    Regards,
    Robert

  • HT4009 Hi, Getting an error while trying to download updates. Err Msg "Account Not in this store' Your account is not valis for use in the US store. You must switch store before purchasing' Have tried to change the store bu not successful. kindly advice

    Hi, Getting an error while trying to download updates. Err Msg "Account Not in this store' Your account is not valis for use in the US store. You must switch store before purchasing' Have tried to change the store bu not successful. kindly advice

    http://support.apple.com/kb/HT1311

Maybe you are looking for

  • Is there a way to view embedded files in a Word doc that you have PDF'd?

    We embed as objects different types of files (i.e, pdf, excel, etc.) into our word documents.  When those documents are PDF'd, you cannot open the files as they become pictures.  Is there anyway I can have the embedded files open in PDF as they do in

  • SHORT Crash Report to Examine

    System crashed while copying to portable FW drive, which has been acting odd lately (not mounting, mounting after waking from sleep...) and in the past. Suspect a bad cable or FW module on logic board. This is the shortest crash report I have ever re

  • How to check job failure reasons in Prime Infrastructure

    We have PI version 1.3. I applied a CLI template and I saw the job's last run status is Failure in the Jobs Dashboard. But I cannot see any detail information about why it failed. Is there anyway we can see the job failure reasons? Thanks.

  • Retain starting 0's of char data when using to_number

    I am using a check in sql loader control file as follows: appl_id "to_char(to_number(:appl_id)" the field in table is varchar2,but the data to be inserted is of the format 000540300 I need to retain the starting 0's and also check that the data does

  • Indesign CS4 colour issues with Onyx 7.3 RIP

    Hi all. I understand that Onyx Production house and postershop are having problems with colours dropping to white or changing to a completely different colour when sent from Indesign CS4 or a PDF created from the programme. I want to swap to indesign