Serial button on the right.

This commit is contained in:
Cristian Maglie 2011-08-22 18:24:13 +02:00
parent 4b0a87b405
commit 6886910f3d
1 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,10 @@ public class EditorToolbar extends JComponent implements MouseInputListener, Key
x2[i] = x1[i] + BUTTON_WIDTH;
offsetX = x2[i];
}
// Serial button must be on the right
x1[SERIAL] = width - BUTTON_WIDTH - 3;
x2[SERIAL] = width - 3;
}
Graphics g = offscreen.getGraphics();
g.setColor(bgcolor); //getBackground());