This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Can we have ComboBox in the JTable Header? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Can we have ComboBox in the JTable Header?" Watch "Can we have ComboBox in the JTable Header?" New topic
Author

Can we have ComboBox in the JTable Header?

Kiran More
Greenhorn

Joined: Dec 29, 2003
Posts: 10
Hi all javaites.
I am facing a strange requirement.I want to have an excel like autofilter in my JTable.For the same i have used an combobox as celleditor.I want to put the combobox in the "JTable HEADER" (Please note not cell).Can i do that? Also can i respond to selection of the combobox?
Aniruddha Pimpalkhare
Greenhorn

Joined: Dec 20, 2001
Posts: 4
check this out: http://www.senun.com/Left/Programming/Java_old/Examples_swing/JTableExamples9.html
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can we have ComboBox in the JTable Header?
 
Similar Threads
JTable
JTable
JTable
JTable help
JTable