🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1196

Re: xylayout jb X

#1196
From: Mark Derricutt
Date: Fri, 06 Feb 2004 03:22
31 lines
2395 bytes
On Sat, 10 Jan 2004 23:48:37 -0500, Paul Furbacher wrote:

> All too often, I hear or read people saying there's no decent GUI designer
> for Swing -- in fact, some moaner/whiner was prattling on in JDJ's most

Have you had a look at the new GUI layout designer that comes with the new
EAP releases of IntelliJ IDEA?

It's quite a drastic shift from anything that other IDE's have been doing.

a) It uses its own layout manager
b) Form layouts are stored in XML
c) Forms are bound to a class, the class can any class, not just a
JPanel/JFrame
d) Swing components creation code is byte-code injected at
compile time ( source generation is available thou )
e) components you actually care about can be bound to instance fields in
the bound class

The tool is designed ( at least seems to be ) a purely layout tool. 
Currently theres no way of attaching Actions or ActionListeners, which is
good (imho) in that it leaves things up to the developer to choose which
method they want ( Actions over ActionListeners, inners vs annonymous
inners etc. etc. ).

What you end up with is a class that only has fields you want to use
declared, and any logic code, keeping the layout code separate ( which has
also been a pet hate of Swing/AWT ).

It reminds me more of Delphi's way of handling .DFM files, only you don't
need to have hundreds of TLabel/JLabels declared in your classes.
Technical Details
Message-ID: <pan.2004.02.06.03.22.24.990367@talios.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ff1f6bc$1@newsgroups.borland.com> <3ff44188$1@newsgroups.borland.com> <4000810e$1@newsgroups.borland.com> <4000d5a5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,dc4d4f9030316349
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-02-05 19:39:55 PST
From: Mark Derricutt <mark@talios.com>
Subject: Re: xylayout jb X
Date: Fri, 06 Feb 2004 16:22:30 +1300
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table)
Message-ID: <pan.2004.02.06.03.22.24.990367@talios.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <3ff1f6bc$1@newsgroups.borland.com> <3ff44188$1@newsgroups.borland.com> <4000810e$1@newsgroups.borland.com> <4000d5a5$1@newsgroups.borland.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 202.89.145.8
X-Trace: newsgroups.borland.com 1076037749 202.89.145.8 (5 Feb 2004 19:22:29 -0800)
Lines: 34
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail