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.
Product Version: NetBeans IDE Dev (Build 200803190008) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.24-12-generic running on i386; UTF-8; en_US (nb) Create two JPanels in the JFrame (see the screenshot). Insert some buttons in the left one. Select all buttons, invoke Cut from the pop-up menu (for example). Now, select the right JPanel in the Visual Designer, right-click it, choose Paste. Buttons are inserted in the Panel (hierarchically), but not in the proper position. If you paste buttons from one panel to another, you would probably expect that the relative position of the buttons with respect to currently containing panel remains unchanged. Instead, an absolute position is kept when you do Cut+Paste. Relative positions ARE kept as expected when you do Copy+Paste. See the screenshot.
Created attachment 58676 [details] Diagram of how a keyboard shortcuts work
*** Bug 154593 has been marked as a duplicate of this bug. ***
The positions in the target panel are ok, the problem is that the source panel is shrunk. Also as issue 154593.
Still valid Product Version: NetBeans IDE Dev (Build 201110030601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb)
Just tried it again, it's happening in 7.0, but works well in 7.1 and 7.2.