Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4812
| From | "John B. Matthews" <nospam@nospam.invalid> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: MVC - simplified? |
| Date | 2011-12-07 08:37 -0500 |
| Organization | The Wasteland |
| Message-ID | <nospam-B1A48D.08371307122011@news.aioe.org> (permalink) |
| References | <MVC-20111206170519@ram.dialup.fu-berlin.de> |
In article <MVC-20111206170519@ram.dialup.fu-berlin.de>, ram@zedat.fu-berlin.de (Stefan Ram) wrote: > When is it sensible to simplify MVC for small GUI applications? Here's my minimal didactic example: <http://stackoverflow.com/a/3072979/230513> I'd argue that even Swing "Hello, word!" may be analyzed in terms of MVC. The notional greeting is modeled as a String, but the controller (EDT) notifies the view (JLabel) directly by invoking the label's paintComponent() method. Among Swing components having a separable model, JButton & JComboBox are fairly accessible. <http://java.sun.com/products/jfc/tsc/articles/architecture/> -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews>
Back to comp.lang.java.gui | Previous | Next | Find similar
Re: MVC - simplified? "John B. Matthews" <nospam@nospam.invalid> - 2011-12-07 08:37 -0500
csiph-web