Ejemplo n.º 1
0
 /**
  * @param storage
  * @param propertyName
  */
 public void storeDialogPositions(
     JDialog dialog, WindowConfigurationStorage storage, String propertyName) {
   storage.setX((dialog.getX()));
   storage.setY((dialog.getY()));
   storage.setWidth((dialog.getWidth()));
   storage.setHeight((dialog.getHeight()));
   String marshalled = marshall(storage);
   setProperty(propertyName, marshalled);
 }