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 203929 - Support JOptionPane and / or any JComponent as layout containers.
Summary: Support JOptionPane and / or any JComponent as layout containers.
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 19:36 UTC by charlweed
Modified: 2011-10-18 19: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 charlweed 2011-10-18 19:36:36 UTC
In terms of Layout API, a JOptionPane is the same as a JPanel. I can, and have cut-and-pasted code generated by NetBeans for a JPanel into the code for classes that extend JOptionPane. I have never encountered an error due to the difference between classes. Of course, this is a very clumsy way to do layout.
 
It would be far better to use the GUIBuilder on subclasses of JOptionPane directly, with a goal of supporting all Swing containers.