This Application is example change a font in textfield with jMenu.
Creating the Project
You can create the project by performing the following steps:
1. Select File a New Project from the main menu.
2. In the New Project window, select Java from the Categories list and Java Application
from the Projects list. Click the Next button to continue.
3. In the Name and Location screen, enter a value for the “Project Name” field.
4. Next, select a value for the “Project Location” field by using the Browse button.
5. Finally, uncheck the “Create Main Class” field.
Creating JFrame Class
To add a Java JFrame class, do the following:
1. In the Projects window, right-click the Source Packages node and select New รค Other
from the context menu.
2. In the New File window, select Swing GUI Forms from the Categories list on the left and
JFrame Form from the File Types list on the right. Click the Next button to continue.
3. In the Name and Location screen, enter a value for the “Class Name” field..
4. Next, enter a Java package hierarchy in the “Package” field.
5. Finally, click the Finish button to generate the class. It will open in the Form Editor (a
special GUI editing tool discussed in the next few sections).

9:03 AM
1code
Posted in:
0 comments:
Post a Comment