// Path: src/ch/jbead/Localization.java
// public interface Localization {
// 
//     public ResourceBundle getBundle();
//     public String getString(String key);
//     public int getMnemonic(String key);
//     public KeyStroke getKeyStroke(String key);
// 
// }


import javax.swing.SpinnerModel;
import javax.swing.SpinnerNumberModel;
import ch.jbead.Localization;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSpinner;
/** jbead - http://www.jbead.ch
    Copyright (C) 2001-2012  Damian Brunold

    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, either version 3 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
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package ch.jbead.dialog;




public class PatternHeightDialog extends JDialog {
    private static final long serialVersionUID = 1L;

    private SpinnerModel heightModel = new SpinnerNumberModel(1000, 5, 10000, 1);
    private JSpinner patternheight = new JSpinner(heightModel);

    private boolean isOK = false;

// Path: src/ch/jbead/Localization.java
// public interface Localization {
// 
//     public ResourceBundle getBundle();
//     public String getString(String key);
//     public int getMnemonic(String key);
//     public KeyStroke getKeyStroke(String key);
// 
// }


// Path: src/ch/jbead/dialog/PatternHeightDialog.java
import javax.swing.SpinnerModel;
import javax.swing.SpinnerNumberModel;
import ch.jbead.Localization;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSpinner;

/** jbead - http://www.jbead.ch
    Copyright (C) 2001-2012  Damian Brunold

    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, either version 3 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
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package ch.jbead.dialog;




public class PatternHeightDialog extends JDialog {
    private static final long serialVersionUID = 1L;

    private SpinnerModel heightModel = new SpinnerNumberModel(1000, 5, 10000, 1);
    private JSpinner patternheight = new JSpinner(heightModel);

    private boolean isOK = false;

    public PatternHeightDialog(Localization localization) {