projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Ship telegps firmware
[fw/altos]
/
altosuilib
/
AltosUIConfigure.java
diff --git
a/altosuilib/AltosUIConfigure.java
b/altosuilib/AltosUIConfigure.java
index ae7626ded1055b9fc2155056c2bb9c8065e451ff..920ed8e287a10c126c930cc3f41a2ac3376e1e9e 100644
(file)
--- a/
altosuilib/AltosUIConfigure.java
+++ b/
altosuilib/AltosUIConfigure.java
@@
-229,8
+229,8
@@
public class AltosUIConfigure
public void add_frequencies() {
}
public void add_frequencies() {
}
- public AltosUIConfigure(JFrame in_owner) {
- super(in_owner,
"Configure AltosUI"
, false);
+ public AltosUIConfigure(JFrame in_owner
, String name, String label
) {
+ super(in_owner,
name
, false);
owner = in_owner;
pane = getContentPane();
owner = in_owner;
pane = getContentPane();
@@
-239,7
+239,7
@@
public class AltosUIConfigure
row = 0;
/* Nice label at the top */
row = 0;
/* Nice label at the top */
- pane.add(new JLabel (
"Configure AltOS UI"
),
+ pane.add(new JLabel (
label
),
constraints(0, 3));
row++;
constraints(0, 3));
row++;
@@
-271,4
+271,8
@@
public class AltosUIConfigure
setLocationRelativeTo(owner);
setVisible(true);
}
setLocationRelativeTo(owner);
setVisible(true);
}
+
+ public AltosUIConfigure(JFrame in_owner) {
+ this(in_owner, "Configure AltosUI", "Configure AltOS UI");
+ }
}
}