JXTable String/Boolean editor/renderer
I have some cells in a JXTable which are using the standard SwingX renderers/editors for Boolean/String types. I'm seeing two oddities, both can be seen in the video associated to my other post http://www.java.net/forum/topic/javadesktop/java-desktop-technologies/sw...
in the screencast at http://youtu.be/nGaLSyzmdBM
1. I'm seeing a really weird flash of a black background when I click a boolean cell. I believe this is because I have set my table to be non-focusable and this is a quick flash when the button thinks it is getting focus. If I allow my table to obtain focus, then the background of the cell goes completely black if I click it. How can I get rid of this flash?
2. The default Renderer for String entries makes text look like a JLabel, but I want to make it look exactly like the Editor (i.e. like a JTextField). You'll note that this isn't just about having a white background - there are slight subtleties in the spacing of the border/text. How can I do this?
(BTW, I'm aware that I could write my own TableCellEditor, TableCellRenderer pairs, but I would like to know if there is a way to fix the existing implementations first).