?
Solved

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

Posted on 1998-05-25
2
Medium Priority
?
178 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 60 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

800 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