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 135187 - ButtonGroup buttonCount shows only zero
Summary: ButtonGroup buttonCount shows only zero
Status: RESOLVED DUPLICATE of bug 58689
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-15 21:43 UTC by carentrica
Modified: 2008-05-29 08:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carentrica 2008-05-15 21:43:05 UTC
When adding a number of JRadioButtons to a ButtonGroup in the GUI designer, the buttonCount property shown remains at 
0 instead of the number of buttons the ButtonGroup contains.
Comment 1 Jiri Vagner 2008-05-19 06:51:23 UTC
Reproducible on 6.1 FCS.
I assigned three radiobuttons with buttongroup. Println() of buttongroup.getButtonCount() property to console shows
correct value, Properties panel still shows initial value, still zero.
Comment 2 Jan Stola 2008-05-19 15:12:56 UTC

*** This issue has been marked as a duplicate of 58689 ***
Comment 3 Quality Engineering 2008-05-29 04:45:11 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #224 build
Changeset: http://hg.netbeans.org/main/rev/af3ca5c443e8
User: Jiri Vagner <jvagner@netbeans.org>
Log: #135187 - Handling buttonCount property of ButtonGroup component
Comment 4 carentrica 2008-05-29 08:27:39 UTC
Verified.