private void readFromProperties(final Properties props,final boolean defaultMinimized,final int defaultX,final int defaultY,final boolean defaultVisible){
  minimized=Boolean.parseBoolean(props.getProperty("window." + name + ".minimized",Boolean.toString(defaultMinimized)));
  visible=Boolean.parseBoolean(props.getProperty("window." + name + ".visible",Boolean.toString(defaultVisible)));
  x=Integer.parseInt(props.getProperty("window." + name + ".x",Integer.toString(defaultX)));
  y=Integer.parseInt(props.getProperty("window." + name + ".y",Integer.toString(defaultY)));
}

private void readFromProperties ( final Properties props , final boolean defaultMinimized , final int defaultX , final int defaultY , final boolean defaultVisible ) { minimized = Boolean . parseBoolean ( props . getProperty ( "window." + name + ".minimized" , Boolean . toString ( defaultMinimized ) ) ) ; visible = Boolean . parseBoolean ( props . getProperty ( "window." + name + ".visible" , Boolean . toString ( defaultVisible ) ) ) ; x = Integer . parseInt ( props . getProperty ( "window." + name + ".x" , Integer . toString ( defaultX ) ) ) ; y = Integer . parseInt ( props . getProperty ( "window." + name + ".y" , Integer . toString ( defaultY ) ) ) ; }
read window configuration from properties .
