The GUI form should be created with your specified name graphicslab2.java.
The NetBeans GUI form editor has two view modes: Source and Design,
which is selectable right underneath the filename tab.
Select the Design mode for the graphical form editor.
Set your form layout to use the Free Design layout manager,
right-click on the form (i.e. the gray box area) and select
Set Layout -> Free Design
Click image for larger view.
Among the windows visible in the NetBeans display there should be the three
specific windows described below. These windows can
be moved (drag and drop) to your prefered location within NetBeans. If you do not see
them, you can display them by selecting them from the Window menu.
Palette - list all available GUI widgets, including the NeXtMidas
MidasDisplay and MidasControl widgets,
which should be underneath Beans near the bottom of the list.
Properties - list the properties of all the selected widgets, allowing you to
set/modify it's values.
Inspector - list all the widgets on the GUI form (some of which may be
hidden and so will fall under "Other Components") and shows their containment
relation