custom panel problem

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

custom panel problem

Postby tommy » Sun Dec 12, 2004 2:06 am

i use Swing Designer trial,
I create my JPanels that inplement some interfaces,
but using the Choose Panel option,I can't find my Jpanel!
Swing Designer don't support custom component than implement interface?
tommy
 

Re: custom panel problem

Postby Eric Clayberg » Sun Dec 12, 2004 7:11 am

tommy wrote:i use Swing Designer trial,
I create my JPanels that inplement some interfaces,
but using the Choose Panel option,I can't find my Jpanel!
Swing Designer don't support custom component than implement interface?

Swing Designer supports such panels just fine. Make sure that the panel class is on your path, that it is public and that it has a zero-argument constructor (required for beans). Also make sure that it compiled properly and that a valid .class file is available for it.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
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: Google [Bot] and 1 guest