X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=micropeak%2FMicroPeak.java;h=cb1c68cbba2eb7afbc55fe3580a0ff5bce1f5d2f;hp=792231768808a04011246d2561c29b637bffb8ef;hb=7ec1b97d278c7aec3199fb7270f0dcf9484c879f;hpb=09d5d6f546ccef2bfd4941e590f047485bb73d76 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