#187 cell selection is not visible in SQL results under Java 1.4

Squirrel SQL
closed-fixed
Core (462)
5
2015-01-08
2004-04-28
Anonymous
No

JTable cells are not highlighted (or simply blanked out
under some L&Fs) during cell selection. This is a UI
issue, because cells do get selected, but it is not
apperent to end user.

I actually encountered this problem before when porting
some apps to Java 1.4. If memory serves me right, all
you need to do is the following:

table.setCellSelectionEnabled(true);
table.setColumnSelectionAllowed(false);
table.setRowSelectionAllowed(false);

where table is an instance of JTable

If you set all of the above properties to true, they
sort of cancel eachother out.

Discussion

  • Colin Bell

    Colin Bell - 2004-06-17
    • status: open --> closed
     
  • Colin Bell

    Colin Bell - 2004-06-17

    Logged In: YES
    user_id=233132

    Fixed in 1.2beta6.

    Thanks
    Col

     
  • Colin Bell

    Colin Bell - 2004-06-17
    • status: closed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks