Logo Search packages:      
Sourcecode: wims version File versions  Download package

void rene::gui::CloseDialog::setSize ( String  name  )  [inline, inherited]

Set window size.

Definition at line 205 of file CloseDialog.java.

Referenced by rene::dialogs::InfoDialog::InfoDialog(), MacroSelectDialog(), rene::dialogs::MyFileDialog::MyFileDialog(), and rene::gui::CloseDialog::setPosition().

      {     if (!Global.haveParameter(name+".w")) pack();
            else
            {     Dimension d=getSize();
                  int w=Global.getParameter(name+".w",d.width);
                  int h=Global.getParameter(name+".h",d.height);
                  setSize(w,h);
            }
      }


Generated by  Doxygen 1.6.0   Back to index