import javax.swing.*;
import java.awt.*;

public class IMEtest extends JFrame
{
	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		IMEtest loIMEtest = new IMEtest();
		loIMEtest.setVisible(true);
	}

	public IMEtest() 
	{
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setTitle("IMEtest");
		setSize(400, 120);
		
		JTextArea txtTextArea = new JTextArea("Please input Japanese Kana text and press the space key. Then Candidate Windows of Microsoft IME is displayed.", 4, 30);
		txtTextArea.setLineWrap(true);
		
		JPanel panel = new JPanel();

	    panel.add(txtTextArea);
		
		getContentPane().add(panel, BorderLayout.CENTER);
	}
}
