first cut at turnon scripts for EasyTimer v2
[fw/altos] / altosuilib / AltosConfigFreqUI.java
index b8477ecd82f6b07e82978311c8697d251a69946e..49fe6b40b48900b6726b756f9be714897ddace3c 100644 (file)
@@ -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
  * 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();