[Problem] imports javax.swing problem
Hi there,
I've got a little problem here with the imports :
The import javax.swing.table.TableRowSorter cannot be resolved
AND
The import javax.swing.RowFilter cannot be resolved
I'm using JBuilder 2007 Enterprise.
So if anyone knows how to solve this ? :">
Tnx
Re: [Problem] imports javax.swing problem
Hello Brollie. Welcome to the Java Programming Forums.
What version of Java are you using?
Re: [Problem] imports javax.swing problem
Hi there and thanks
Uh wel both my project and workspace are on version 6.0
The strange part was
That the project had worked before. Then I reinstalled my os to windows 7 (I hated vista to hard), Then installed JBuilder and also the latest java SE version.
Re: [Problem] imports javax.swing problem
Hmm.. I have limited exeprience with JBuilder. Not sure why this would of happened. Are you sure your project is set to use Java 6?
Take a look at: project > properties, 'path' > required libraries.
Not sure if there is anything there you should set?!
Re: [Problem] imports javax.swing problem
Well every jar file, libs and so on are there :s
So thats what i found so strange :s
Re: [Problem] imports javax.swing problem
Are you having issues with other imports or is it just javax.swing?
Re: [Problem] imports javax.swing problem
Uhhh no
Its also the imports :
Code :
import javax.swing.DropMode;
import javax.swing.table.TableRowSorter;
import javax.swing.RowFilter;
Only those 3
Re: [Problem] imports javax.swing problem
Ok Ive solved it
I use the JBuilder from borland and when it installs it installs its own version from java the so called 6.0 version.
After changing the path from the JRE from c:/JBuilder/.../ to c:/programfiles/java/JRE/... it was fixed.
So the JRE from borland doesn't contains all the JAR's :s
Re: [Problem] imports javax.swing problem
Quote:
Originally Posted by
Brollie
Ok Ive solved it
I use the JBuilder from borland and when it installs it installs its own version from java the so called 6.0 version.
After changing the path from the JRE from c:/JBuilder/.../ to c:/programfiles/java/JRE/... it was fixed.
So the JRE from borland doesn't contains all the JAR's :s
Glad you found your answer Brollie!!!