Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Beginner
Nov 3, 1999

Using Applet Viewer the Easy way

To test your applets using the applet viewer, put the following comment in your Java file:
 
/*<applet code=AnApplet.class width=200 height=200> 
</applet> 
*/ 
Then you won't need an HTML file for your applet code. The applet viewer will parse the applet tag and display the applet. Now, you can test it your applet by typing this at the prompt:
 
appletviewer AnApplet.java 
Behrouz Fallahi
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap