synchronized void doUnfloat() {
synchronized public void doUnfloat() {
  synchronized void doUnfloat() {    if(frame != null) {      frame.getContentPane().remove(main);      frame.setVisible(false);      frame = null;    }    buttonFloat.setToolTipText("Float window");    add(main, BorderLayout.CENTER);    remove(buttonInfo);    revalidate();    invalidate();    doLayout();    repaint();  }