Hi,
I'm pretty new in the area of Swing for
Java.
I've just downloaded a bunch of codes which were written in 1998. The import package for Swing are all "com.sun.java.swing". But my current Java 1.3
IDE uses swing as via "javax.swing".
FIRST QUESTION, what is the main diff between them?
So, initially they have: -
com.sun.java.swing.JPanel
com.sun.java.swing.JLabel
com.sun.java.swing.JFrame
com.sun.java.swing.JTextField
com.sun.java.swing.JButton
com.sun.java.swing.event.ChangeEvent
com.sun.java.swing.event.ChangeListener
I replace all "com.sun.java.swing" with "javax.swing".
The program runs well after that. However, I'm planning to add more features with Java 1.3 Swing classes...so does anyone knows the downside to this?
------------------
Thank you.
- Simon See
simon-ivy@usa.net -after office hours-
necro-mani-cide