Solved

com.sun.java.swing or java.awt.swing ?????

Posted on 1998-05-25
2
172 Views
Last Modified: 2012-05-04
Does anyone know which swing package is the latest version of the swing classes - com.sun.java.swing or java.awt.swing? I've got the JDK1.2beta3 and the class hierarchy of this is java.awt.swing whereas in the swing-1.0.2 distribution the hierarchy is com.sun.java.swing. Which one should I be using?
0
Comment
Question by:binkle
2 Comments
 
LVL 1

Accepted Solution

by:
mnelson051997 earned 20 total points
ID: 1221460
com.sun.java.swing is the more up-to-date for the time being.  java.awt.swing
will occasionally catch up, but will not be newer that com.sun.java.swing.  For
now, use com.sun.java.swing.
0
 

Author Comment

by:binkle
ID: 1221461
Thanks man!

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now