This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Hi, I would like to get JTable Column Header Icon it would be nice if you could tell me a way to get it. Detail: ------- I have a table where I can able to see Up Arrow and Down arrow for ascending and descending order respectively to arrange the value in the table, now I am looking for a way to get the Up arrow and down arrow icons from the Column header. Thanks in advance. Regards, Venkat
posted 13 years ago
Look at the examples at Swing Examples You will get some help. Basically you will have to place JButtons as column header and set icons for JButton. Then implement mouse click event. I haven't done this myself, so cannot provide any code snippet as such. Ashish