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
Author: Rajesh T
Date: Fri, 11 Jun 2004 05:18
Date: Fri, 11 Jun 2004 05:18
9 lines
1005 bytes
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
Author: 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.
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