Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "david" Subject: Re: Are there any good Ja Message-ID: X-Comment-To: comp.lang.java.programmer Newsgroups: comp.lang.java.gui In-Reply-To: <456c5881$0$634$bed64819@news.gradwell.net> References: <456c5881$0$634$bed64819@news.gradwell.net> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 27 Date: Wed, 27 Apr 2011 15:26:20 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303917980 96.60.20.240 (Wed, 27 Apr 2011 10:26:20 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:26:20 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:229 To: comp.lang.java.programmer "Chris Uppal" writes: > Dale King wrote: > >> Is there any really good XML API for creating Swing UI's? > > I can't help with suggestions for what already exists, but the thought strikes > me: how hard would it be to do yourself ? Since (as I understand it) you are > not looking for any kind of abstraction away from Swing, but rather the ability > to specify Swing GUIs in XML instead of boilerplate Java code, it seems that a > table-driven approach would be quite powerful. Your hand-written Java code > (for interpreting the XML) would be table driven, mapping XML tags/attributes > into Swing constructions via either reflection or some sort of factory; and the > tables would be generated (off-line) by reflection on the Swing classes. > > YAGNI, of course, is your friend in any such project ;-) > > -- chris Doesn't JGoodies use XML to store its UI information? --- * 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