Creating cell editor to JTableHeader
Posted on 1998-08-27
I'm working with swing 1.0.3, jdk1.1.6
The JTable cell has a cell editor and a cell renderer, while the JTableHeader has only a renderer. I would like to somehow simulate the same process of the cell for the header, so that the header will have pressable buttons on it, JTextField etc, and when the mouse don't touch any of them - to do the column drag. Can anyone give me some samples of how to do that?
Thanks in advance.