Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Java Development User Guide
Previous Page Home Next Page

Launching a Java applet

If your Java program is structured as an applet, you can use the Java Applet launch configuration.  This launch configuration uses information derived from the workbench preferences and your program's Java project to launch the program.

  1. In the Package Explorer, select the Java compilation unit or class file containing the applet you want to launch.
  2. Press the Run [ ] button in the workbench toolbar or select Run > Run from the workbench menu. Alternatively, select Run As > Java Applet from the Package Explorer pop-up menu, select Run > Run As > Java Applet in the workbench menu bar, or select Run As > Java Applet in the drop-down menu on the Run tool bar button. 
  3. Your program is now launched.

You can also launch a Java applet by selecting a project instead of the compilation unit or class file.  You will be prompted to select a class from those classes that extend Applet.  (If only one applet class is found in the project, that class is launched as if you selected it.)

Related concepts
Debugger

Related tasks
Re-launching a program
Running and debugging
Stepping through the execution of a program

Related reference
Debug view
Package Explorer


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire