diff options
Diffstat (limited to 'altosui/AltosUI.java')
| -rw-r--r-- | altosui/AltosUI.java | 14 | 
1 files changed, 14 insertions, 0 deletions
| diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index d8c8d61c..9b724fd7 100644 --- 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(); @@ -300,6 +307,13 @@ public class AltosUI extends JFrame {  		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 { | 
