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 70918 - Support JavaBean -> Matisse UI
Summary: Support JavaBean -> Matisse UI
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-02 22:36 UTC by _ tboudreau
Modified: 2008-04-29 10:41 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 _ tboudreau 2006-01-02 22:36:47 UTC
This is probably more of a request for a new module, but...  The POJO model is 
very popular with web applications;  and very often when you create a UI, it 
will actually be setting values on some JavaBean.

What might be very nice is a tool that will take an existing Java class, find 
all the properties on it, and generate a skeleton UI with appropriate 
components and labels based on property names, etc. from a JavaBean.  It 
doesn't have to actually try to design the layout in any way, just generate 
appropriate components.  

Given the (un)popularity of BeanInfos, etc., probably the PropertyPanel-style 
approach is not the right one - better to make some inferences (integers get a 
JSpinner, enums get a JComboBox, possibly do something cute with constants and 
combo boxes if you can infer that that's all a property will take) and let the 
user handle layout, validation, etc. - just generate methods that do all that 
that the user can edit.