This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we have ComboBox in the JTable Header?