If you want to use the Netbeans GUI editor for an Applet you must follow the next steps:
1. In the menu bar go to File -> New Project and then select Java->Java Application |
2.Name your application and select a location for the project |
3, Select the package where you want to add your applet and then right click -> New -> Other. After that go to Swing GUI Forms -> JApplet Form |
4.Choose a name for your applet and press Finish |
5. Double click on the newly created file in the Project view. You can easily toggle between the source and design view of the file by clicking the highlighted button in the picture above. |
Enjoy designing applets with Netbeans!
No comments:
Post a Comment
Got a question regarding something in the article? Leave me a comment and I will get back at you as soon as I can!