File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jtable as listbox?

 
r0ckflite
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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
------------------
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic