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 68956 - inner enumerations and bean properties -- combo box would be useful
Summary: inner enumerations and bean properties -- combo box would be useful
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 18:05 UTC by johnstosh
Modified: 2010-09-23 08:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johnstosh 2005-11-18 18:05:40 UTC
If I create an inner enumeration such as
    public enum Algorithm { FLOATING_WINDOW, WINDOW_AT_THRESHOLD }
and a corresponding property
    private Algorithm whichAlgorithm = Algorithm.FLOATING_WINDOW;
    public Algorithm getWhichAlgorithm() {
        return whichAlgorithm;
    }
    public void setWhichAlgorithm(Algorithm whichAlgorithm) {
        this.whichAlgorithm = whichAlgorithm;
    }

Then the properties sheet in Netbeans 5.0 beta 2 shows the property type as
   [Algorithm]
rather than doing something useful, such as automatically providing a 
JComboBox.