I'm trying to delete a JPanel from my mailPanel under [FrameView] in Netbeans??! When I d开发者_运维技巧elete this JPanel it just deletes this from Inspector view, it does not unlink and delete all the components it has auto-generated as a result of creating those controllers inside the JPanel and the JPanel itself and leaves my initial code with all the rubbish that were meant to be deleted. What should I do to safely delete everything associated with this JPanel deletion??! Please help!
Goto inspector view
> Right click the panel
> Delete
精彩评论