X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosuilib%2FAltosConfigFreqUI.java;h=055d34f919456a237bedf08311c1d7ea945af88a;hb=debian;hp=de7b4bed6097d5577c88a9ffa793970a865d1499;hpb=cb23b992be8ba40c97d8988c134a814a13ccd58c;p=fw%2Faltos diff --git a/altosuilib/AltosConfigFreqUI.java b/altosuilib/AltosConfigFreqUI.java index de7b4bed..49fe6b40 100644 --- a/altosuilib/AltosConfigFreqUI.java +++ b/altosuilib/AltosConfigFreqUI.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 @@ -15,14 +16,14 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -package org.altusmetrum.altosuilib_7; +package org.altusmetrum.altosuilib_14; import java.awt.*; import java.text.*; import java.awt.event.*; import javax.swing.*; import java.util.*; -import org.altusmetrum.altoslib_7.*; +import org.altusmetrum.altoslib_14.*; class AltosEditFreqUI extends AltosUIDialog implements ActionListener { Frame frame; @@ -66,7 +67,7 @@ class AltosEditFreqUI extends AltosUIDialog implements ActionListener { got_ok = false; frame = in_frame; - Container pane = getContentPane(); + Container pane = getScrollablePane(); pane.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); @@ -301,7 +302,7 @@ public class AltosConfigFreqUI extends AltosUIDialog implements ActionListener { frequencies = new FrequencyList(in_frequencies); - Container pane = getContentPane(); + Container pane = getScrollablePane(); pane.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints();