|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
My name is Ilia and I am 9 years old now. Actually I look for kids who love Java as I do. But now I am writing regarding a problem with my applet. (click on the link to see it:
www.doubleplus.be/en1/page8.html “Learn French”) It works quiet perfectly on my local computer but the download time from the server is very long even thought there are only 5 pictures in use in this example. I have used MediaTracker class in this applet: MediaTracker tracker = new MediaTracker(this); for(int i=0;i<im.length;i++) { im[i]=getImage(getCodeBase(),"images/im"+(i +1)+".JPG"); tracker.addImage(im[i], 0); } // Wait until all images are fully loaded //----------------------------------------------- try { tracker.waitForAll(); m_fInitialized = !tracker.isErrorAny(); } catch (InterruptedException e) { } Is there anybody who can help me? |
|
#2
|
||||
|
||||
|
Applets are notorious for being slow, and as far as I know, they're not in much use anymore for Web applications.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > Boy of 9 years old need help with Java |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|