X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosLaunchUI.java;h=3320e6751c9207ed725575e460bdea80dbe31d9b;hb=master;hp=7e7ed010af487dc5dce5ebac84f06af076adce65;hpb=670034eef48d63cdaec8d271fa93da984ffe2ea9;p=fw%2Faltos diff --git a/altosui/AltosLaunchUI.java b/altosui/AltosLaunchUI.java index 7e7ed010..6615063b 100644 --- a/altosui/AltosLaunchUI.java +++ b/altosui/AltosLaunchUI.java @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -23,7 +24,7 @@ import javax.swing.*; import java.io.*; import java.text.*; import java.util.concurrent.*; -import org.altusmetrum.altosuilib.*; +import org.altusmetrum.altosuilib_14.*; class FireButton extends JButton { protected void processMouseEvent(MouseEvent e) { @@ -392,7 +393,7 @@ public class AltosLaunchUI if (!open()) return; - Container pane = getContentPane(); + Container pane = getScrollablePane(); GridBagConstraints c = new GridBagConstraints(); Insets i = new Insets(4,4,4,4); @@ -509,4 +510,4 @@ public class AltosLaunchUI setVisible(true); } -} \ No newline at end of file +}