Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
by lophiomys » Fri Apr 22, 2005 2:23 am
Is it possible to integrate a new customized JPanel
( class CustomizedJPanel extends JPanel )
in the new-Wizard?
Similar to custom controls, more like a custom containers,
so that a Swing-Designer-user could directly start off
by creating a new CustomizedJPanel instaed of a JPanel,
i.e. MyNewJPanel extends CustomizedJPanel.
Cheers,
Lophiomys
-
lophiomys
-
- Posts: 8
- Joined: Mon Mar 07, 2005 3:21 am
by Eric Clayberg » Fri Apr 22, 2005 7:24 am
lophiomys wrote:Is it possible to integrate a new customized JPanel
( class CustomizedJPanel extends JPanel )
in the new-Wizard?
Similar to custom controls, more like a custom containers,
so that a Swing-Designer-user could directly start off
by creating a new CustomizedJPanel instaed of a JPanel,
i.e. MyNewJPanel extends CustomizedJPanel.
Can't you just enter your CustomizedJPanel class into the superclass field of the Swing JFrame wizard?
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
by lophiomys » Fri Apr 22, 2005 9:45 am
Eric,
That works perfect, and you saved my day.
Thank you.
Cheers
-
lophiomys
-
- Posts: 8
- Joined: Mon Mar 07, 2005 3:21 am
by Eric Clayberg » Sat Apr 23, 2005 11:52 am
lophiomys wrote:That works perfect, and you saved my day.
BTW, here's a nice
flash demo showing some of the things you can do with visual inheritance in Swing Designer...
[Just click on the image above]
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
Return to Swing Designer
Who is online
Users browsing this forum: No registered users and 1 guest