projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add updates to the java client from Rene, OZ1LQH
[spider.git]
/
spider-web
/
dxannounce.java
diff --git
a/spider-web/dxannounce.java
b/spider-web/dxannounce.java
index 163c8fad027bb0388e4399e8c9386cc2ebb717cd..c4c833f554cf4cb175b289fd76d4277e36ff08d5 100755
(executable)
--- a/
spider-web/dxannounce.java
+++ b/
spider-web/dxannounce.java
@@
-7,8
+7,9
@@
public class dxannounce extends Dialog
super(parent, "Dx Announce", true);
this.parent = parent;
this.setFont(font);
super(parent, "Dx Announce", true);
this.parent = parent;
this.setFont(font);
-
-
+// Call2 = "";
+// Freq = "";
+// Remarks = ""; // Make sure that Call2, Freq and Remarks are empty when box is displayed.
Panel p1 = new Panel();
p1.setLayout(new GridLayout(3,2));
Panel p1 = new Panel();
p1.setLayout(new GridLayout(3,2));
@@
-25,10
+26,6
@@
public class dxannounce extends Dialog
// p3.add(freq = new TextField(Remarks,30));
// add("Center",p3);
// p3.add(freq = new TextField(Remarks,30));
// add("Center",p3);
-
-
-
-
Panel p2 = new Panel();
p2.add(new Button("OK"));
p2.add(new Button("Cancel"));
Panel p2 = new Panel();
p2.add(new Button("OK"));
p2.add(new Button("Cancel"));
@@
-36,7
+33,6
@@
public class dxannounce extends Dialog
resize(250,150);
resize(250,150);
-
show();
}
show();
}
@@
-46,12
+42,8
@@
public class dxannounce extends Dialog
parent.setCall2(call2.getText());
parent.setFreq(freq.getText());
parent.setRemarks(remarks.getText());
parent.setCall2(call2.getText());
parent.setFreq(freq.getText());
parent.setRemarks(remarks.getText());
-
-
-
}
}
-
else if (arg.equals("Cancel")) {
dispose();
}
else if (arg.equals("Cancel")) {
dispose();
}