import javax.swing.RowFilter etc

These 2 statements which work perfectly on most pc s fail in one XP Professional PC. Please let me know the reason ?

import javax.swing.RowFilter;
import javax.swing.table.TableRowSorter;

The error is "Can not find symbol RowFilter" for the 1st statement &
"Can not find symbol TableRowSorter" for the 2nd statement !!!

Note: I have installed NetBeans 6.5 on this computer and the errors are seen inside the IDE!!!
naling_pAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mick BarryJava DeveloperCommented:
Sounds like its not running java 6, or not compiling using Java 6.
Those classes are only available in java6
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
naling_pAuthor Commented:
Thank U so much! I was using a different JDK!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.