So I have a table in my Applet that responds to a click on the table header. Heres the code:
I need to do something when the user selects a certain column and that works great. The problem is that some of the cells are to small and when I try and resize them in the GUI it registers as a click (and I can never re-size) How can I add the abbitlity to both select a specific column but also keep the original function of a Jtable and be able to re-size the cells for readability?
Thanks
Pat Peg
Ranch Hand
Joined: Feb 04, 2005
Posts: 188
posted
0
Is the question not direct enough? I have searched on the internet and can't find an answer. I would appreciate the help. Thanks
Pat Hays
Ranch Hand
Joined: Aug 20, 2004
Posts: 138
posted
0
Hi Pat
Why don't you use mouseClicked instead of mousePressed. If you haven't try it, it is worth to try.