- putCharXY(width - 2, height - 1, GraphicsChars.SINGLE_BAR,
- application.getTheme().getColor("twindow.border.windowmove"));
- putCharXY(width - 1, height - 1, GraphicsChars.LRCORNER,
- application.getTheme().getColor("twindow.border.windowmove"));
+ putCharXY(getWidth() - 2, getHeight() - 1,
+ GraphicsChars.SINGLE_BAR,
+ getTheme().getColor("twindow.border.windowmove"));
+ putCharXY(getWidth() - 1, getHeight() - 1,
+ GraphicsChars.LRCORNER,
+ getTheme().getColor("twindow.border.windowmove"));