Forums Register Login

TableCellRenderer

+Pie Number of slices to send: Send
I have two rows and 18 columns on JTable. Please see my program below. I use the program for setting each cell color.
Why does it loop twice. It should have 36 counts, but it turns out total 72 counts.




[Edit - added code tags - MB]
+Pie Number of slices to send: Send
 

Kee Kee moon wrote:


I don't know, but there must be something different about the code you're running. That won't compile - the prepareRenderer method doesn't return anything.
CAUTION! Do not touch the blades on your neck propeller while they are active. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1216 times.
Similar Threads
How To Color Row In JTable
How to change the colour of an JTable Cell dynamically
Hiding text in JTable
JTabbedPane not refreshing
color alternate rows/TableModel
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:23:09.