Juventus
Juventus

Reputation: 731

How to remove Query from JFrame GUI in Netebeans?

I have accidentally dragged "Query" from Java Persistence Section in Windows Palette.

Now I have hard time removing it from the source code. Below is a screen shot.

enter image description here

How can I restore my interface?

Upvotes: 0

Views: 271

Answers (1)

Ben
Ben

Reputation: 3518

Open the GUI-Editor again and remove it from there (see Window/Panel: Navigator).
Or open the file in any text-editor to remove it.
(Don't forget to re-load the form within NetBeans-GUI-Designer after changing code via Text-Editor)

Upvotes: 2

Related Questions