Solved

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

Posted on 1998-05-25
2
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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 will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

726 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