thanks for the reply,
I did so with JLabel, but it not seems to work, when i tell JTable i''m using JLabel, the method getTableCellRendererComponent() wont
fire, but when i tell JTable use Object.class it paints the JTable rows, also it denying me from selecting cells contrary to JLabel.class.
her's the full code, i built the GUI in NetBeans, sorry for the variable names and the code a little messy, i need it firstly to get it to work properly.
note: only the first two 'red' color buttons are working.
this is the main: