• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jtable as listbox?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am using a jtable to format 3 columns of data, allow you to click on title and sort the whole list by one particular column, and then click on a row to select that row. Here are my questions (thanks ahead of time:
1) Is this a good use for jtable, or should I be using some other 'list selection' widget?
2) When I click on a cell, it selects the whole row (good), but draws a little yellow outline around the cell I selected. I want it to look like user selected the row (get rid of yellow outline and diff background color on cell I clicked)
3) I want the tab key to move me to the next widget in my dialog. It currently moves me to the next cell in my jtable.
-Ben
------------------
reply
    Bookmark Topic Watch Topic
  • New Topic