I would like to use JTable in JScrollPane and want to show the Graphics on it. For example a rectangle on JTable starting from 1st row 1st column to 3rd row 6th column. I also want to show few more graphics like this. Can any body help me out?
posted 16 years ago
Offhand, I'd use a glass pane. You can put stuff on the glass pane whichis then overlaid on other components. Check out the Sun tutorial here. You'll have to figure out how to get the exact positions of the cell corners so that you know where to draw the rectangle on the glass pane. Enjoy.