Solved

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

Posted on 1998-05-25
2
171 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java. Convert method from recursion based to iteration based ( loop based ) 6 75
stackato and cloud 4 68
couple of eclipse 5 19
java jdbc batch example 8 20
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

911 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

21 Experts available now in Live!

Get 1:1 Help Now