protected Step createClick(Component target, int x, int y,
int mods, int count) {
ComponentReference cr = getResolver().addComponent(target);
JTabbedPane tp = (JTabbedPane)target;
TabbedPaneUI ui = tp.getUI();
int index = ui.tabForCoordinate(tp, x, y);
if (index != -1) {
// NOTE only tab selections are allowed for when clicking on tabs;
// no multi-clicks or other buttons are saved, although nothing
// prevents manual generation of such actions.
return new Action(getResolver(),