Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Problem with an Applet Viewer in Java

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 09-01-2010
Member
 
Join Date: Aug 2006
Posts: 287
Problem with an Applet Viewer in Java
  

Hi friends,
I am new to the Java. I am using the command prompt to compile and run all programs that I do in Java. I am facing an issue when I try to run the AppletViewer. Do I have some Problem with an Applet Viewer in Java. It takes long time to Load, Start or Kill the programs of Applets, when I use the aapletviewer. Usually I have seen that Appletviewer should not take so much time. Need some help from you guys..!!

__________________
Dimension 1100 (FMY032J) mini-tower
2.53ghz Intel Pentium 4
80 gig nfts HDD
512 RAM
Main circuit board: Dell 0CF458
BIOS: Dell A00
Display: Intel(R) 82865G Graphics Controller [Display adaptor]
Multimedia: Sound MAX Integrated Digital Audio
Windows XP Home SP2
Reply With Quote
  #2  
Old 09-01-2010
Member
 
Join Date: Apr 2008
Posts: 2,139
Re: Problem with an Applet Viewer in Java

I think that basically Applets run slowly in Java. The reason is that whenever a Java program is executed, all of the relevant .class files are loaded first. Due to this it can take several seconds. If there are any unnecessary lines that are not required for the compilation, then delete those lines. But you can expect the Java to Start slowly if many .class files are involved. So I think there is nothing problem to worry about.
Reply With Quote
  #3  
Old 09-01-2010
Member
 
Join Date: Jan 2008
Posts: 3,759
Re: Problem with an Applet Viewer in Java

I would like to suggest you to use the IDE like Eclipse instead of using the cmd prompt to run your java applet programs. I think that using the cmd prompt may generate problems like long time for Starting or Killing the process. So it would be better to use the IDE (Eclipse). Because the advantage is that it will make the job of compilation automated and the execution user based a whole lot more simpler. Hope that your problem will get solved after using the Eclipse.
Reply With Quote
  #4  
Old 09-01-2010
Member
 
Join Date: Sep 2005
Posts: 1,306
Re: Problem with an Applet Viewer in Java

Actually i am telling you the basic things of Applet. Appletviewer tool that comes as part of the JDK. If you are using the Windows application than a Appletviewer is that you run from a DOS command line. the applet appears in the viewer's main window after the Appletviewer appears. Part of the command line is the applet that you want to run. First bring up an MS-DOS window by selecting the MS-DOS Prompt command from Programs on the Start menu to run the Appletviewer application. Then you can switch to the folder containing the applet you want to run by typing the location of that file in the command line.
Reply With Quote
  #5  
Old 09-01-2010
Member
 
Join Date: Apr 2008
Posts: 4,642
Re: Problem with an Applet Viewer in Java

If you think that your applet is taking too much time than try to reinstall the Java. I would like to recommend you to use the good IDE for the Java. Even I would like to suggest you to use the Eclipse which is the Best IDE according to me for Java. Otherwise try to reinstall your Java application with the updated version. Also before installing the application be sure that you are removing the existing application.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Problem with an Applet Viewer in Java"
Thread Thread Starter Forum Replies Last Post
How to run java applet program using cmd Rao's Software Development 3 07-01-2012 02:35 PM
Zoom in on a Java Applet? Bharata Software Development 6 21-10-2010 07:01 AM
Java code for video applet Gunner 1 Software Development 5 09-03-2010 10:24 AM
Java applet errors Harpreet Gaur Software Development 5 12-01-2010 11:08 AM
Refresh Java Applet Brake Fail Software Development 6 16-03-2009 10:02 PM


All times are GMT +5.5. The time now is 11:28 AM.