Results 1 to 3 of 3
  1. #1
    doha786 is offline Member
    Join Date
    Mar 2009
    Posts
    48
    Rep Power
    0

    Arrow Getting error with table packages..

    hi,
    i am trying to sort the rows in my table but getting error with these packages...
    Java Code:
    import javax.swing.table.TableRowSorter;
    import javax.swing.SortOrder;
    import javax.swing.RowSorter;
    errors:
    RowSorterDemo.java:9: cannot find symbol
    symbol : class TableRowSorter
    location: package javax.swing.table
    import javax.swing.table.TableRowSorter;
    ^
    RowSorterDemo.java:10: cannot find symbol
    symbol : class SortOrder
    location: package javax.swing
    import javax.swing.SortOrder;
    ^
    RowSorterDemo.java:11: cannot find symbol
    symbol : class RowSorter
    location: package javax.swing
    import javax.swing.RowSorter;
    ^
    what we are thinking, it might not be true

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    8

    Default

    Which JDK version are you using? Those classes don't exist until 1.6

  3. #3
    doha786 is offline Member
    Join Date
    Mar 2009
    Posts
    48
    Rep Power
    0

Similar Threads

  1. Replies: 1
    Last Post: 01-08-2010, 06:19 AM
  2. packages
    By fogus in forum New To Java
    Replies: 1
    Last Post: 03-24-2009, 06:14 AM
  3. Replies: 3
    Last Post: 02-12-2008, 11:03 AM
  4. packages
    By ai_2007 in forum Advanced Java
    Replies: 1
    Last Post: 07-31-2007, 12:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •