4

I need the x and y coordinates of the table because I want to draw an object over the table. Is it possible to draw a canvas object over a table at all?

aterai
  • 9,658
  • 4
  • 35
  • 44

1 Answers1

4

You can get the coordinates of a cell by calling:

Rectangle r = JTable.getCellRect(row, column, includeSpacing);
icza
  • 389,944
  • 63
  • 907
  • 827