- Start NetBeans IDE, click File -> New project... on top menu
- Select Categories of Java, and Projects of Java Desktop Application, and click Next.
- Review Disclaimer and click Next.
- Enter Project Name (HelloNB), and select Basic Application in Choose Application Shell box, and click Finish.
- Place a Label:
Like other GUI IDE, simple drag a Label (under Swing Controls) from the Palette pane over the Design Pane.
- Change the Label text:
Right click on the Label and select Edit Text.
Enter the text.
- Save All and Click the Green arrow icon to run the application.
next:
- NetBeans: Setting Events With the Connection Wizard
Notice:
- If you cannot find Java Desktop Application in your NetBeans IDE, you can "Manually create GUI application of Hello World on NetBeans 7.2.1".
I don't have a option in netbeans 7.2.1 for Java Desktop Applicaiton? Any insight would be helpful.
ReplyDeletethanks
hello Jon Farzanfar,
DeleteYou can Manually create GUI application of Hello World on NetBeans 7.2.1.