comp = getComponentAt((JTable)c, x, y); } else if (c instanceof JTableHeader) { comp = getComponentAt((JTableHeader)c, x, y); } else if (c instanceof JTree) { comp = getComponentAt((JTree)c, x, y); } else if (c instanceof JList) { comp = getComponentAt((JList)c, x, y);
Component c = getComponentAt((CellRendererPane)comp, x, y); if (c != null) { rect = getRectangleAt((CellRendererPane)comp, x, y); Component c = getComponentAt((CellRendererPane)comp, x, y); if (c != null) { rect = getRectangleAt((CellRendererPane)comp, x, y);