cmds.processArgs();
boolean commandsSuccess = cmds.argsWereParsed();
- cliWarning();
-
if (commandsSuccess)
{
if (headlessArg)
}
desktop.setInBatchMode(false);
}
+
+ cliWarning();
}
private static void setLookAndFeel()
String cont = MessageManager.getString("label.continue");
Desktop.instance.nonBlockingDialog(32, 2, title, warning, url, cont,
- JvOptionPane.WARNING_MESSAGE, false, true, false);
+ JvOptionPane.WARNING_MESSAGE, false, true, true);
}
}
if (j.getCommands() != null && j.getCommands().getErrors().size() > 0)
this.height = height;
}
+ public boolean isNull()
+ {
+ return scale == 0.0f && width == 0 && height == 0;
+ }
+
public static BitmapImageSizing nullBitmapImageSizing()
{
return new BitmapImageSizing(0.0f, 0, 0);
}
-
+
public static final String BITMAP_SCALE = "BITMAP_SCALE";
public static final String BITMAP_HEIGHT = "BITMAP_HEIGHT";
*/
public static BitmapImageSizing defaultBitmapImageSizing()
{
-
- return new BitmapImageSizing(Cache.getDefault(BITMAP_SCALE,0)/10f,Cache.getDefault(BITMAP_WIDTH,0),Cache.getDefault(BITMAP_HEIGHT,0));
-
+
+ return new BitmapImageSizing(Cache.getDefault(BITMAP_SCALE, 0) / 10f,
+ Cache.getDefault(BITMAP_WIDTH, 0),
+ Cache.getDefault(BITMAP_HEIGHT, 0));
+
}
}