Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Swings with java 1.4.2

 
sri rallapalli
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I have an application with swings, it is using java 1.1.7B version, now we want to change it to java1.4.2, but while compiling we are facing lot of issues. is there any latest version of "swingall.jar" available?
Also please let us know is what are the changes in swings from Java1.1 to Java 1.4.2

Regards,
Sri.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lots of things have changed in Swing (not swings) since Java 1.1. E.g., it's now part of the standard JDK, so there's no separate jar file any more.

Most important for you is probably that the package names changed from "com.sun.java.swing..." to "javax.swing...". Doing a global search and replace with these should eliminate the problem. Apart from this, the code should compile and run fine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!