Reputation: 7128
I have managed to collect quite a few Swing
components on my JFrame
that I placed with the editor but "removed" though they still appear in the generated code.
Though I cannot for the life of me figure out how to remove them, from the designer I cannot select any of these components
Is there a way to remove these?
Upvotes: 3
Views: 3234
Reputation: 7008
Select the components and delete them from the Navigator window when the "Design" is selected in the current editor window. The Navigator window should be the window that is usually in the bottom left corner under the project window. It shows a tree that you may have to expand some nodes in the tree to find the components of interest. You can select a whole list of components at a time and delete them from there.
Upvotes: 5