X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=micropeak%2FMicroPeak.java;h=cb1c68cbba2eb7afbc55fe3580a0ff5bce1f5d2f;hb=1aed2eb5c7d477a2f3d4fada22980041aba97cb8;hp=792231768808a04011246d2561c29b637bffb8ef;hpb=106d212ff5920c39d95751ef6249dc141970412c;p=fw%2Faltos diff --git a/micropeak/MicroPeak.java b/micropeak/MicroPeak.java index 79223176..cb1c68cb 100644 --- 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