1NetBeans Tutorial
2
3
4
5
Using the “Properties” menu, name the List “List1” and the button “Button1”. NetBeans Tutorial6
Dragging the edges of an object will change its shape. Use the Properties window to change the name and display properties of an object. NetBeans Tutorial7
8
9
This method will be called each time the event you chose is triggered. NetBeans Tutorial10
private void Mouse_Clicked(java.awt.event.MouseEvent evt) { // TODO add your handling code here: int i; for (i=0;i<5;i++) { list1.add(Integer.toString(i)); } } NetBeans Tutorial11
NetBeans Tutorial12
Right-click on your project name in the Projects window. Select “Properties” Click on “Run” Beside “Main Class:” click on “Browse” and select your Form. Click “Ok” NetBeans Tutorial13
Click this icon to Build and Execute your project. NetBeans Tutorial14
NetBeans Tutorial15
NetBeans Tutorial16