Swing is the next-generation GUI toolkit that Sun Microsystems has developed for the Java language. It is essentially a vast component framework built over parts of the older AWT component libraries used in Java 1.0 and 1.1. Swing is written in 100% Java; there are no native calls. Hence, it can run on any platform with a compatible Java virtual machine. 1. It provides Java programmers many new powerful components-- most of which we've been begging for since Java's inception. 2. It gives developers a chance to create a powerful, portable application that can not only target users on any Java-compatible platform, but also target their desired look-and-feel as well. 3. The distribution is easy to learn, but can also be used at varying levels of complexity to curtail to the programmer's wishes.
Swing is a package in Java which contains tools for building GUI application. Swing is a part of Java's foundation classes.
You really don't want to do that. Swing is for desktop applications. If you want to create a website, use Java Server Faces or Applets, not Swing.
It is a part of swing package.
The getContentPane() method is used to get the main component in a Java Swing JFrame. It is usually a JPanel.
I think you may have your terminology off a bit.javax.swing is a Java package of graphical user interface (GUI) classes.An Applet is a class designed to be embedded in a web browser.Among the classes in the Swing package is JApplet, which is an Applet extended to work with Swing components.There really is no "advantage" of one thing over the other. They are just different, if related, parts of Java.
swing technology
Swing is a package in Java which contains tools for building GUI application. Swing is a part of Java's foundation classes.
You really don't want to do that. Swing is for desktop applications. If you want to create a website, use Java Server Faces or Applets, not Swing.
It is a part of swing package.
Yes.
Java Swing might be needed by someone because Swing provides a native look and feel that matches the look and feel of several platforms, with more powerful and flexible components than AWT.
The getContentPane() method is used to get the main component in a Java Swing JFrame. It is usually a JPanel.
Java Swings is a technology that is used to create User Interface Components using Java. Swing Events are a part of this technology that is used to handle user actions like click of a button or closing the component etc
we can set the value of constant text area in Java in swing by creating a object of Jframe
Swing is a library of GUI controls. Classes in swing are not OS dependent. They do not take the look and feel of the target platform so that they have a consistent appearance.
I think you may have your terminology off a bit.javax.swing is a Java package of graphical user interface (GUI) classes.An Applet is a class designed to be embedded in a web browser.Among the classes in the Swing package is JApplet, which is an Applet extended to work with Swing components.There really is no "advantage" of one thing over the other. They are just different, if related, parts of Java.
Check the link below for the Java entry in Answers.com.