Using Netbeans I have been working with a GUI app for two years now. The code is generated at first from Netbeans
IDE when selecting
Java Desktop Application Project.
For the project Spacer it generates SpacerApp and SpacerView and it looks like this :
SpacerView looks more or less like this :
And now the punchline: I have found that I have another frame
floating about here.
When I do this with the SpacerView class then two frames are visible.
Seems odd to me that this setup suggested by Netbeans offers one frame to use as the main guy (from FrameView) but
there is another frame (from app.getMainFrame()) floating around unused.
Why are there two? Is one of them a leftover from previous designs and should be avoided??
Can I use either one, or is one on its way to deprecation??