X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosuilib%2FAltosConfigFreqUI.java;h=055d34f919456a237bedf08311c1d7ea945af88a;hb=debian;hp=b8477ecd82f6b07e82978311c8697d251a69946e;hpb=085336c45ce0577031a7af5de117a8b856160708;p=fw%2Faltos diff --git a/altosuilib/AltosConfigFreqUI.java b/altosuilib/AltosConfigFreqUI.java index b8477ecd..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_11; +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_11.*; +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();