This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I was messing around with some visual layout stuff in JBuilder, and I noticed that there are some controls that have duplicate functionality. Some of the them are of the format JControlName. In the descriptions they usually say they are an alternative to the AWT version of the control. Can anyone just give me a little explanation here and maybe some thoughts as to whether it matters which I use and why?
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
Ben, The controls that are in the form JControlName are alternatives to the AWT version, but they are not provided by JBuilder. They are part of JFC (Java Foundation Classes) and are collectively known as Swing components. Swing is newer than AWT, and many of the components are improved. Some are exclusive to Swing. But we still use AWT for layouts, events, and other things. I like Swing better, but I know that a lot of companies haven't moved to it yet. Also, current browsers don't support Swing, so to use Swing in an Applet, you need to supply your users with the Plug-in. According to recent news, you will be needing this Plug-in to run applets in all future versions of IE anyway because it will no longer have a Virtual Machine of any type built in!!! But that's a subject for another thread...