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 5108 - Customizer template in Beans module is not very useful.
Summary: Customizer template in Beans module is not very useful.
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-23 02:35 UTC by Jesse Glick
Modified: 2010-09-23 08:29 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 Jesse Glick 1999-12-23 02:35:53 UTC
The Customizer template is nothing more than a plain JPanel. It does not really have the stuff in it to be useful for either a bean Customizer or a custom proped component.


There should really be two templates:

- a JPanel implementing Customizer which would sensibly implement these three methods (keep a local variable for the customized bean, and use a PropertyChangeSupport to make it easy to fire changes)

- a JPanel to be used as a custom proped component, which should maybe have a constructor taking a PropertyEditor subclass and keeping a copy of the proped so that setValue() can be used

The second makes most sense in a group template together with the PropertyEditorSupport template.

Also, the P.E.S. template ought to have commented-out code for common (re-)implementations of the methods, e.g. at least something implementing a tagged pulldown list of fixed choices.
Comment 1 Petr Slegr 2001-08-29 12:10:25 UTC
Reassigning, changing to enhancement and increasing priority.
Comment 2 Svata Dedic 2002-05-21 17:01:51 UTC
Cleaning up
Comment 3 Marek Grummich 2002-07-19 17:07:54 UTC
Target milestone was changed from not determined to TBD