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 72475 - ButtonGroup property is lost when copying Buttons
Summary: ButtonGroup property is lost when copying Buttons
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2006-02-09 14:46 UTC by rost
Modified: 2009-07-19 21:17 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description rost 2006-02-09 14:46:02 UTC
When I copy a group of radiobuttons (all have the same buttonGroup property 
set) from one JFrame to another JFrame the buttonGroup property is suddenly 
<none> for all button copies. 
It would be very helpful if the corresponding ButtonGroup is copied with the 
buttons and the buttonGroup property is not changed in the button copies.
Comment 1 Tomas Pavek 2007-08-16 10:02:10 UTC
The Button Group property is a reference to another component - and referenced components are not automatically copied.
Perhaps if the user copies the referenced component as well then the property value could be set to the copy of the
component. Or maybe we could do a specific hack for button group and just copy it between forms automatically.
Comment 2 rost 2007-09-18 07:57:59 UTC
I tested with NetBeans-6.0beta1 and the button group is still lost.
Comment 3 rost 2007-11-15 08:52:40 UTC
I just tested with NetBeans-6.0RC1 and the bug is still there.
Comment 4 kate 2008-04-29 12:28:12 UTC
still reproducible in 6.1
Comment 5 rost 2009-07-19 21:17:14 UTC
I just run into the same problem in NetBeans 6.7.