com.borland.jbcl.layout.VerticalFlowLayout

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

com.borland.jbcl.layout.VerticalFlowLayout

Postby fkieviet » Sun Jul 12, 2009 3:39 pm

Hi,

I'm evaluating SwingDesigner, and I'm comparing it with JBuilder X. In JBuilder X I often used com.borland.jbcl.layout.VerticalFlowLayout. Is there an equivalent in SwingDesigner? If not, can I add it? What would you recommend if I already have a dialog that uses com.borland.jbcl.layout.VerticalFlowLayout?

TiA, Frank
fkieviet
 
Posts: 3
Joined: Sun Jul 12, 2009 3:34 pm

Re: com.borland.jbcl.layout.VerticalFlowLayout

Postby Eric Clayberg » Mon Jul 13, 2009 6:30 pm

1) Using custom vendor specific layout managers like that is generally a very bad idea.

2) In the latest Swing Designer build, if you have VerticalFlowLayout on your classpath, it will show up in the Layouts palette list and you can use it as you would have in JBX.
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

Re: com.borland.jbcl.layout.VerticalFlowLayout

Postby fkieviet » Mon Jul 13, 2009 9:04 pm

Thanks for your response. I added com.borland.jbcl.layout.VerticalFlowLayout to the project's classpath, and it does show up in SwingDesigner. However, I cannot add new controls to Panels that use this layout.

I suppose I should be using another layout, i.e. one of the built-in layouts.

BTW, any particular layout you would recommend as a replacement for com.borland.jbcl.layout.VerticalFlowLayout?

Thanks again for your answer,
Kind regards,
Frank
fkieviet
 
Posts: 3
Joined: Sun Jul 12, 2009 3:34 pm

Re: com.borland.jbcl.layout.VerticalFlowLayout

Postby Konstantin.Scheglov » Mon Jul 13, 2009 11:32 pm

Which version of Swing Designer do you use?
You need latest build of Swing Designer 7.1 to work with VerticalFlowLayout.
Version 6.9 does not support it.

Any grid-based layout can place components in single column: MigLayout, JGoodies FormLayout or just GridBagLayout.
Konstantin.Scheglov
Moderator
 
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk

Re: com.borland.jbcl.layout.VerticalFlowLayout

Postby fkieviet » Sun Jul 19, 2009 11:13 am

Thanks for your reply. As it turns out I was using an older version of SwingDesigner: the one that comes with JBuilder 2008 R2. I removed JBuilder, downloaded Eclipse 3.5 and installed the latest SwingDesigner. That version works just fine with the JBCL VerticalFlowLayout.

The product is a tad slow on my laptop, but otherwise it's very nice! My compliments!
fkieviet
 
Posts: 3
Joined: Sun Jul 12, 2009 3:34 pm

Re: com.borland.jbcl.layout.VerticalFlowLayout

Postby Eric Clayberg » Sun Jul 19, 2009 12:39 pm

Glad that worked for you.
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: No registered users and 1 guest