projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Add idle monitor dialog
[fw/altos]
/
altosui
/
AltosUI.java
diff --git
a/altosui/AltosUI.java
b/altosui/AltosUI.java
index d8c8d61ce6794f8b6b4d8717c839bd2bc77dd916..9b724fd7bd854c760f870e4ef48b74b6b988a385 100644
(file)
--- a/
altosui/AltosUI.java
+++ b/
altosui/AltosUI.java
@@
-187,6
+187,13
@@
public class AltosUI extends JFrame {
}
});
}
});
+ b = addButton(2, 2, "Monitor Idle");
+ b.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ IdleMonitor();
+ }
+ });
+
setTitle("AltOS");
pane.doLayout();
setTitle("AltOS");
pane.doLayout();
@@
-300,6
+307,13
@@
public class AltosUI extends JFrame {
new AltosConfigureUI(AltosUI.this, voice);
}
new AltosConfigureUI(AltosUI.this, voice);
}
+ private void IdleMonitor() {
+ try {
+ new AltosIdleMonitorUI(this);
+ } catch (Exception e) {
+ }
+ }
+
static AltosRecordIterable open_logfile(String filename) {
File file = new File (filename);
try {
static AltosRecordIterable open_logfile(String filename) {
File file = new File (filename);
try {