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 - Items in GUI designer disappear when
Summary: Items in GUI designer disappear when
Status: VERIFIED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-25 10:41 UTC by Petr Dvorak
Modified: 2008-08-25 16:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project with a JFrame where this issue can be reproduced. (13.53 KB, application/x-compressed)
2008-08-25 10:42 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
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.