meow00
asked on
javax.swing ...
Hi experts,
Here is the JFrame class from the Java tutorial
-------------------------- ---------- ---------- ------
javax.swing
Class JFrame :
java.lang.Object
-> java.awt.Component
-> java.awt.Container
-> java.awt.Window
-> java.awt.Frame
-> javax.swing.JFrame
-------------------------- ---------- ---------- --------
so .... what's the relationship between the packages : javax.swing and java.awt ? or could anyone please explain the hiearchy to me ? Thanks very much !!!
meow.
Here is the JFrame class from the Java tutorial
--------------------------
javax.swing
Class JFrame :
java.lang.Object
-> java.awt.Component
-> java.awt.Container
-> java.awt.Window
-> java.awt.Frame
-> javax.swing.JFrame
--------------------------
so .... what's the relationship between the packages : javax.swing and java.awt ? or could anyone please explain the hiearchy to me ? Thanks very much !!!
meow.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://bdn.borland.com/article/0,1410,26970,00.html
Summary:
Swing is base on AWT.
Swing is base on AWT.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If your also interested in SWT :
SWT is the software component that delivers native widget functionality for the Eclipse platform in an operating system independent manner. It is analogous to AWT/Swing in Java with a difference - SWT uses a rich set of native widgets. Even in an ideal situation, industrial strength cross platform widget libraries are very difficult to write and maintain. This is due to the inherent complexity of widget systems and the many subtle differences between platforms. There are several basic approaches that have helped significantly to reduce the complexity of the problem and deliver high quality libraries. This article discusses one of them, the low level implementation techniques used to implement SWT on different platforms. Examples are drawn from the Windows® and Motif implementations.
http://www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html
Hope that adds help . . .
Javatm
SWT is the software component that delivers native widget functionality for the Eclipse platform in an operating system independent manner. It is analogous to AWT/Swing in Java with a difference - SWT uses a rich set of native widgets. Even in an ideal situation, industrial strength cross platform widget libraries are very difficult to write and maintain. This is due to the inherent complexity of widget systems and the many subtle differences between platforms. There are several basic approaches that have helped significantly to reduce the complexity of the problem and deliver high quality libraries. This article discusses one of them, the low level implementation techniques used to implement SWT on different platforms. Examples are drawn from the Windows® and Motif implementations.
http://www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html
Hope that adds help . . .
Javatm
Let us know if you have any more questions !.