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,438
  • 4
  • 33
  • 43

1 Answers1

4

You can get the coordinates of a cell by calling:

Rectangle r = JTable.getCellRect(row, column, includeSpacing);
icza
  • 342,548
  • 56
  • 784
  • 738