/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.nsm;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;
import net.miginfocom.swing.MigLayout;

/**
 *
 * @author Olivier
 */
public class GuessMappingUI {
    private JFrame frame;
    private JTextField myField;
    private JButton startButton;

    public GuessMappingUI() {
        frame = new JFrame("Guess Mapping");
        frame.setName("GUESS_MAPPING");
        frame.setLayout(new MigLayout());
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        myField = new JTextField(15);
        myField.setName("GUESS_MAPPING_FIELD");
        frame.add(myField, "wrap");

        startButton = new JButton("Start");
        startButton.setName("GUESS_MAPPING_BUTTON");
        startButton.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent e) {
        
            }
        });
        frame.add(startButton);
        frame.pack();
        frame.setVisible(true);

    }

    public static void main(String[] args) {
        Runnable showApp = new Runnable() {

            public void run() {
                GuessMappingUI start = new GuessMappingUI();
            }
        };

        SwingUtilities.invokeLater(showApp);
    }
}

