projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
156e609
)
micropeak: Add Download button to menu bar
author
Keith Packard
<keithp@keithp.com>
Wed, 3 Jul 2013 00:54:38 +0000
(17:54 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 3 Jul 2013 00:54:38 +0000
(17:54 -0700)
It's the most common activity, after all
Signed-off-by: Keith Packard <keithp@keithp.com>
micropeak/MicroPeak.java
patch
|
blob
|
history
diff --git
a/micropeak/MicroPeak.java
b/micropeak/MicroPeak.java
index 792231768808a04011246d2561c29b637bffb8ef..cb1c68cbba2eb7afbc55fe3580a0ff5bce1f5d2f 100644
(file)
--- a/
micropeak/MicroPeak.java
+++ b/
micropeak/MicroPeak.java
@@
-231,6
+231,10
@@
public class MicroPeak extends MicroFrame implements ActionListener, ItemListene
fileMenu.add(exitAction);
exitAction.addActionListener(this);
+ JButton downloadButton = new JButton ("Download");
+ downloadButton.addActionListener(this);
+ menuBar.add(downloadButton);
+
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
addWindowListener(new WindowAdapter() {
@Override