projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update version for a Bdale build for use turning on TeleMini v1.0
[fw/altos]
/
altosui
/
AltosRomconfigUI.java
diff --git
a/altosui/AltosRomconfigUI.java
b/altosui/AltosRomconfigUI.java
index e1dc974e67ac4e520b0a0cf89594bf4ac926a243..7e21735cd91ee152301ed70b3f22968127d63e19 100644
(file)
--- a/
altosui/AltosRomconfigUI.java
+++ b/
altosui/AltosRomconfigUI.java
@@
-126,6
+126,11
@@
public class AltosRomconfigUI
setLocationRelativeTo(owner);
}
setLocationRelativeTo(owner);
}
+ public AltosRomconfigUI(JFrame frame, AltosRomconfig config) {
+ this(frame);
+ set(config);
+ }
+
boolean selected;
/* Listen for events from our buttons */
boolean selected;
/* Listen for events from our buttons */
@@
-183,4
+188,9
@@
public class AltosRomconfigUI
return romconfig();
return null;
}
return romconfig();
return null;
}
+
+ public static AltosRomconfig show(JFrame frame, AltosRomconfig config) {
+ AltosRomconfigUI ui = new AltosRomconfigUI(frame, config);
+ return ui.showDialog();
+ }
}
}