i am trying to set the color of row of a Swing Jtable. i use this class to extend Jtable as suggest on the net.
public class ColorTable extends JTable {
It may sound wired myself answering to one of my questions. but I found another quck fix to my bug. but am not really sure about the reason. I call a epaint just before the validate and everything works fine:
deployTable.repaint();
deployTable.revalidate();
I think i have not really clear the difference within repaint and revalidate. Can anyone explain it to me?