jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes AWT vs. Jbuilder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "AWT vs. Jbuilder" Watch "AWT vs. Jbuilder" New topic

AWT vs. Jbuilder

Ben Roy
Ranch Hand

Joined: Nov 01, 2000
Posts: 70
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?
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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...
I agree. Here's the link: http://aspose.com/file-tools
subject: AWT vs. Jbuilder
It's not a secret anymore!