Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1727

JGoodies Questions

From "Keith Bennett" <keith.bennett@THRWHITE.remove-dii-this>
Subject JGoodies Questions
Message-ID <1180475951.442846.168840@p77g2000hsh.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:35 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
I'm very new to JGoodies and am trying to understand its general
approach.

Firstly, do you know of any forum, mailing list, etc., that is devoted
exclusively to JGoodies?

Also, I noticed that the AbstractDialog has a doAccept() where one can
define behavior to occur when the dialog's Ok button is pressed.  This
seems to violate the separation of UI and behavior provided by Swing's
pluggable Action approach.  That is, with Swing, I can initialize the
Ok button with an action, and that action will contain behavior, text
and/or icon, tooltip text, etc.  How does one separate the view from
the controller for these dialogs?  Do they just test  isCancelled and
put the business logic in the code that puts up the dialog?

Thanks,
Keith

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

JGoodies Questions "Keith Bennett" <keith.bennett@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: JGoodies Questions "IchBin" <ichbin@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000

csiph-web