Step 1 Create a visual JApplet
your project in the Package Explorer window, then select New from the
File menu. Either select Visual Class from the pop-out menu, or you can
select Other and select Visual Class from the resulting dialog.
the next dialog box, give your applet a name, like GraphApplet1. Also,
make sure that Applet is selected in the Style: box.
The IDE builds now the GraphApplet1.java file remembering that it should use the visual editor (a plugin for Eclipse!).