Your application uses a blank label with an opaque background to display the colors. You need to add the label and set its properties.
To add a label:
A label with the text jLabel1 is displayed in the Form Designer. In the Component Inspector, a node named jLabel1 [JLabel] is displayed and highlighted in the tree view. The properties for the component are displayed in the Properties pane. Source code for the label is displayed in the Source Editor.
All you should see in the Form Designer is a line that demarks the boundary of the jLabel1 component.
Next: Adding a Button
Back: Selecting a Layout Manager |