String size = Integer.toString(getWidth()) + "x" + Integer.toString(getHeight()); Preferences.getPreferences().setProperty("WebScarab.size",size);
if (! isShowing()) return; Preferences.getPreferences().setProperty("WebScarab.size.x",Integer.toString(getWidth())); Preferences.getPreferences().setProperty("WebScarab.size.y",Integer.toString(getHeight()));
    private void formComponentResized(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentResized        String size = Integer.toString(getWidth()) + "x" + Integer.toString(getHeight());        Preferences.getPreferences().setProperty("WebScarab.size",size);    }//GEN-LAST:event_formComponentResized