GUIButton button;
button = new GUIButton(20,100,60,20,"login", GLOBAL.gui);
//button.addActionListener(loginWindow, "close", UITools.LEG_TOOL);
button.addActionListener(this, "loginReturn", UITools.LEG_TOOL);
loginWindow.add(button);
button = new GUIButton(100,100,60,20,"cancel", GLOBAL.gui);
button.addActionListener(loginWindow, "close", UITools.LEG_TOOL);
//button.addActionListener(this, "loginReturn", UITools.LEG_TOOL);