- putCharXY(width - 5, 0, '[', border);
- putCharXY(width - 3, 0, ']', border);
- if (mouseOnMaximize() && mouse.getMouse1()) {
- putCharXY(width - 4, 0, GraphicsChars.CP437[0x0F],
- application.getTheme().getColor("twindow.border.windowmove"));
+ putCharXY(getWidth() - 5, 0, '[', border);
+ putCharXY(getWidth() - 3, 0, ']', border);
+ if (mouseOnMaximize() && mouse.isMouse1()) {
+ putCharXY(getWidth() - 4, 0, GraphicsChars.CP437[0x0F],
+ getTheme().getColor("twindow.border.windowmove"));