* @param border true, if the window has a border, false in other case
*/
public Window (int x, int y, int width, int height, boolean border, String title) {
_border = border;
_title = title;
_rect = new Rectangle(width, height);
_rect.setLocation(x, y);
int x1 = border?x+1:x;
int y1 = border?y+1:y;
int w = border?width-2:width;
int h = border?height-2:height;
_root = new Panel(w, h);
_root.setSize(new Rectangle(w, h));
_root.setX(x1);
_root.setY(y1);
_root.setWindow(this);
WindowManager.createWindow(this);
}