This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 144983

Summary: Items in GUI designer disappear when
Product: guibuilder Reporter: Petr Dvorak <joshis>
Component: CodeAssignee: issues@guibuilder <issues>
Status: VERIFIED INVALID    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Project with a JFrame where this issue can be reproduced.

Description Petr Dvorak 2008-08-25 10:41:30 UTC
Product Version: NetBeans IDE Dev (Build 200808250201)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)

When dragging a panel in a JFrame form, some other items in the form are not visible (only while dragging). This problem
exist only in some rather rare circumstances -> P4.

To reproduce: drag a yellow panel that is inside the JFrame form in the project I will send you.
Comment 1 Petr Dvorak 2008-08-25 10:42:25 UTC
Created attachment 68224 [details]
Project with a JFrame where this issue can be reproduced.
Comment 2 Jan Stola 2008-08-25 15:52:11 UTC
This is as designed. This situation occurs when components are pasted into the form. The pasted components are placed 
in a separate temporary layer. It is not allowed to put additional components into this layer. In fact, it is expected 
that the user will use drag and drop to incorporate the pasted components into the main layer. The components from the 
temporary layer are hidden when some component is dragged to emphasize that it is not possible to put (place next to, 
align with) the dragged component into the temporary layer.

In your case, the buttons jButton5, jButton6 and jButton7 are in the temporary layer. Hence, they are hidden when one 
of them (or other components) are moved.
Comment 3 Petr Dvorak 2008-08-25 16:20:32 UTC
Heh, I get it... it is actually written in the hint in the top, if I didn't close it... Verified.