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 pane. In the Component Inspector, a node named jLabel1 [JLabel] is displayed (and highlighted) in the tree view and 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: Choosing a Layout Manager |