Article View: borland.public.jbuilder.java.swing
Article #974Re: Tools for converting from awt to Swing
From: Tor Iver Wilhelmsen (TeamB)
Date: Fri, 11 Jun 2004 06:49
Date: Fri, 11 Jun 2004 06:49
13 lines
1337 bytes
1337 bytes
"Rajesh T" <thatts@gmail.com> writes: > I am looking for any third party tools that would aid in converting a pure > awt application to swing. Add "import javax.swing.*", put a "J" in the front of all component names, and see if it compiles. :) (In many ways, the Swing component set is a supserset of the components in AWT. Do be aware of the paned containers, though - that is, all the top-level containers. JFrame, JDialog, JWindow and JApplet all will complain about add(component) at runtime. Use getContentPane().add(component) for those.
Technical Details
Message-ID:
<uhdtid1xq.fsf@ergo.no>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40c94071$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,50cc77671e3cc6c5 X-Google-Attributes: gid111d45,public Sender: towi@SDSA4902 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Tools for converting from awt to Swing References: <40c94071$1@newsgroups.borland.com> From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB)) Date: 11 Jun 2004 08:49:21 +0200 Message-ID: <uhdtid1xq.fsf@ergo.no> Lines: 13 X-Newsreader: Gnus v5.7/Emacs 20.7 NNTP-Posting-Host: 139.105.130.111 X-Trace: newsgroups.borland.com 1086936559 139.105.130.111 (10 Jun 2004 23:49:19 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail