Treffer: Develop an Applet Using WebSphere Studio Application Developer: Applets let you embed small programs on an HTML page. Learn how to create and export applets using WSAD.
Weitere Informationen
The article shows how to develop an applet using WebSphere Studio Application Developer (WSAD) 5.1. It shows how to generate an applet, modify it using a visual editor, run the applet, and export the .JAR file. One of the great features of WebSphere Studio Application Developer is its ability to create applets. An applet is a small Java program you can embed in an HTML page. Applets are downloaded and executed by a Java-compatible Web browser. Applets differ from full-fledged Java applications in that they can't access certain resources on a local computer, such as files and serial devices (modems, printers, etc.), and are prohibited from communicating with most other computers across a network. The first step is to create a Java project in WSAD. Select Visual class in the Java perspective. Select the "Visual Class" option for creating an applet using WSAD. HelloWorldApplet source displays in the visual editor. This option displays the various visual controls you can include in your applet, such as label. A visual editor is used to modify the applet's graphical user interface.