Help with class/applet - Page 2


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18

Thread: Help with class/applet

  1. #16
    Join Date
    Mar 2005
    Posts
    27

    Thank you so much!

    Hello, once more. Once again, just like before, I really appreciate the help that you have given me. You will be rewarded in the future and I know that for sure. Well, I tried to see the link that you posted but it did not show anything and therefore I looked at the code. I did what you told me and it did work. I have never compiled my programs like that so I was wondering if you could explain why it should be that way. I was wondering about why you should compile the folder name and then the Forest file(\javac forest\Forest.java). I know you said because of the package that you place at the beginning of the code but I am still not understanding that process. Is the forest package one that comes integrated in java or did you create that one yourself? Just wondering I am not sure if these questions are good or not but like I said, I have never dealt with something like this. Well, if you get the chance to answer these questions for me the I would appreciate it. Thanks once more for the help. I really appreciate it much. Talk to you later.

  2. #17
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560

    Your pc/browser is not set up for swing applets.

    I have set it up as an awt version also.

    check here:
    http://home.no.net/sjalle/demos/tlist.html

    Note: the awt version uses forest1 as its package

    If you want to make a move into the modern world and use swing
    (and above) then do the following (for IE):

    Tools->Internet Options->advanced.
    There you must check the option:
    Java (sun) -> use JRE 1.5.0 (something) .
    If you can't find that option you must download the JDK from sun and install
    it.

    As for the package/folder issue, check out the sun documentation for this.

    Good luck !
    Last edited by sjalle; 04-28-2005 at 04:46 AM.

  3. #18
    Join Date
    Mar 2005
    Posts
    27

    Thanks!

    Once again thanks for the help. I understood the program a whole lot better. I will look at the sun documentation to figure out what I needed. Thanks you very much for the help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center