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!!!
Who is Participating?
objectsConnect With a Mentor Commented:
Sounds like its not running java 6, or not compiling using Java 6.
Those classes are only available in java6
naling_pAuthor Commented:
Thank U so much! I was using a different JDK!!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.