Shekhar
Posts: 11
Nickname: shekhar4u
Registered: Aug, 2003
|
|
Re: package java.swing does not exist
|
Posted: Jan 13, 2004 1:01 AM
|
|
I didnt use jsdk1.4 ver, but to fix the error, open the lib folder in jsdk1.4.2 (probably it should be in drive://jsdk1.4.2/lib folder), and check for a jar file (may be tools.jar) which contains javaw.swing package and this jar file must be set to classpath. So if its tools.jar, ur classpath must be as follows: Assuming in c: drive, set classpath=c:\jsdk1.4.2\lib\tools.jar
This should work. And if u have any other jar file, then specify that.
|
|