use of org.fest.swing.driver.JTableLocation in project android by JetBrains.
the class ThemeEditorTableCellWriter method startCellEditing.
/** {@inheritDoc} */
@Override
public void startCellEditing(@NotNull final JTable table, final int row, final int column) {
final JTableLocation location = location();
execute(new GuiTask() {
@Override
protected void executeInEDT() throws Throwable {
scrollToCell(table, row, column, location);
}
});
Rectangle cellBounds = location.cellBounds(table, row, column);
robot.click(table, cellBounds.getLocation());
}
Aggregations