🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages Started by Rajesh T Fri, 11 Jun 2004 05:18
Tools for converting from awt to Swing
#973
Author: Rajesh T
Date: Fri, 11 Jun 2004 05:18
9 lines
1005 bytes
Hi,

I am looking for any third party tools that would aid in converting a pure
awt application to swing.

Any pointer would be helpful.

Thanks
Rajesh
Re: Tools for converting from awt to Swing
#974
Author: Tor Iver Wilhelmsen (TeamB)
Date: Fri, 11 Jun 2004 06:49
13 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads