X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosLaunchUI.java;h=56b211acd146e26a532d05a8f767fc03b928af71;hb=HEAD;hp=4d9fbda563c552c86331524a860d7bdaab584060;hpb=bf88c5f829ea5d32043431945e862a9f6c96740a;p=fw%2Faltos diff --git a/altosui/AltosLaunchUI.java b/altosui/AltosLaunchUI.java index 4d9fbda5..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_1.*; +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 +}