 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Robb Guest
|
Posted: Tue May 08, 2007 3:06 am Post subject: Suggestions for higher-level Swing frameworks? |
|
|
Hi,
I need to do some Java GUI work, and it's been a while since I've
worked with Swing. Are there are common frameworks in use yet that
add a higher level of abstraction to it?
I remember from a couple of years back, that someone from Germany
(Karsten?) had a pretty library. Is that still around?
Thanks,
Robb |
|
| Back to top |
|
 |
Andrew Thompson Guest
|
|
| Back to top |
|
 |
Karsten Lentzsch Guest
|
Posted: Thu May 10, 2007 11:25 pm Post subject: Re: Suggestions for higher-level Swing frameworks? |
|
|
Robb wrote:
| Quote: | I need to do some Java GUI work, and it's been a while since I've
worked with Swing. Are there are common frameworks in use yet that
add a higher level of abstraction to it?
|
While working with teams, I've found these things helpful:
1) the JSR 296 organizes and standardizes a Swing application
2) knowledge about successful desktop patterns.
Google for "JSR 296" to find information about the framework.
Google "Organizing Presentation Logic" for an article by
Martin Fowler that motivates and introduces desktop patterns.
My presentation "Desktop Patterns and Data Binding" applies
these patterns to Swing and has more diagrams than Martin,
see www.jgoodies.com/articles/
Next, choose a L&f, layout manager plus optional visual editor,
data binding and validation strategy. Although attractive at first
sight, I'd not use an automatic data binding system at the beginning.
If you want to learn about Dos and Don'ts for Swing, see
the articles pages for slides with good and bad Swing design.
| Quote: | I remember from a couple of years back, that someone from Germany
(Karsten?) had a pretty library. Is that still around?
|
I provide a bunch of open source libraries that complement Swing.
These aim to make Java look good and work well, and assist you
in getting good and consistent design at affordable costs.
They are: JGoodies Looks for appearance, JGoodies Forms for layout,
JGoodies Validation for validation and validation result views,
JGoodies Binding for binding domain data to Swing components.
They are here: www.jgoodies.com/downloads/libraries.html
On top of the open source libraries I provide a commercial
framework that addresses the JSR 296 issues, and a bunch
of example applications that demonstrate the patterns mentioned
above, how to tie everything together, and some of my good
practice patterns. That's the JGoodies Swing Suite.
Hope this helps.
-Karsten |
|
| Back to top |
|
 |
John Gunther Guest
|
Posted: Sat May 12, 2007 6:27 am Post subject: Re: Suggestions for higher-level Swing frameworks? |
|
|
On May 7, 6:06 pm, Robb <Robb.Shec...@gmail.com> wrote:
| Quote: | Hi,
I need to do some Java GUI work, and it's been a while since I've
worked with Swing. Are there are common frameworks in use yet that
add a higher level of abstraction to it?
I remember from a couple of years back, that someone from Germany
(Karsten?) had a pretty library. Is that still around?
Thanks,
Robb
|
Rob,
JComponentBreadboard provides a minimalist approach to your problem
available under the BSD license at http://jcbreadboard.sourceforge.net/
Here is an except from it's package description:
JComponentBreadboard uses an electronic breadboard metaphor to
integrate Swing's disparate form-related elements into a single
coherent class representing the form as a whole:
1. Like snapping an electronic component onto a plastic grid, you
define each JComponent's relative position within the form by
assigning it to a rectangular block of elements within a 2-D
breadboard array. The rows and columns of this grid auto-scale to fit
components at their preferred sizes, and it's easy to specify which
rows and columns will stretch or contract to incorporate any space
surpluses or deficits in the parent window that contains the form.
2. Like wiring together electronic components on a breadboard, you
use the jbConnect method to connect the main, user manipulable,
property of each JComponent to associated application properties.
Connect single components to individual getter/setter defined
properties (JCheckBox <==> boolean), or directly plug arrays of
components into row/column indexed properties. Such connected
components enjoy pluggable auxiliary properties (enabled, visible,
etc.) and simplified data validation and progress/cancel feedback.
As with an electronic breadboard, JComponentBreadboard makes it easy
to configure a relatively small set of standard JComponents into a
wide variety of Swing forms. The User's Guide below illustrates this
productivity, beginning with simple instructive examples, and ending
with realistically complex JComponentBreadboard-based forms.
http://jcbreadboard.sourceforge.net/
It's new, but it's good...please give it a try!
John C. Gunther, JComponentBreadboard author. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|