NetBeans is using
javax.swing.JFrame as a base for all Swing applications; in this recipe, we will use the word Frame to denote instances of
The Frame is nothing more than a border where the developer will place the components; think of a real frame where the canvas goes, so the artists can paint on it, and where other components will be added. The provided implementation from NetBeans is very basic in its content but it already has some basic controls, so the designer can close, expand, and align the components implemented.
Desktop Applications will have at least one Frame, but several other components can be included in its "body".
For this recipe, you will require a Java Desktop Project ...