I have a JTable with a Renderer written by myself. When I set the JTable disabled, I want it to be painted in gray, and with the current Renderer that’s not possible. That’s why I want to remove the renderer when I set the JTable disabled, and then when enabled set it again.
Is that possible, or may I take a different solution?
You can set a new DefaultTableRenderer(). It should be possible too in your Renderer. Alternatively you could extend DefaultTableRenderer.