Whitespace
This commit is contained in:
@@ -59,8 +59,7 @@ public class GetdownApp
|
|||||||
// if not, check for a command line argument
|
// if not, check for a command line argument
|
||||||
if (StringUtil.isBlank(adarg)) {
|
if (StringUtil.isBlank(adarg)) {
|
||||||
if (args.isEmpty()) {
|
if (args.isEmpty()) {
|
||||||
System.err.println(
|
System.err.println("Usage: java -jar getdown.jar app_dir [app_id] [app args]");
|
||||||
"Usage: java -jar getdown.jar app_dir [app_id] [app args]");
|
|
||||||
System.exit(-1);
|
System.exit(-1);
|
||||||
}
|
}
|
||||||
adarg = args.get(aidx++);
|
adarg = args.get(aidx++);
|
||||||
@@ -110,8 +109,7 @@ public class GetdownApp
|
|||||||
@Override
|
@Override
|
||||||
protected Container createContainer () {
|
protected Container createContainer () {
|
||||||
// create our user interface, and display it
|
// create our user interface, and display it
|
||||||
String title =
|
String title = StringUtil.isBlank(_ifc.name) ? "" : _ifc.name;
|
||||||
StringUtil.isBlank(_ifc.name) ? "" : _ifc.name;
|
|
||||||
if (_frame == null) {
|
if (_frame == null) {
|
||||||
_frame = new JFrame(title);
|
_frame = new JFrame(title);
|
||||||
_frame.addWindowListener(new WindowAdapter() {
|
_frame.addWindowListener(new WindowAdapter() {
|
||||||
|
|||||||
Reference in New Issue
Block a user