String result = JOptionPane.showInputDialog("请输入有户名");

StringTokenizer stringTokenizer = new StringTokenizer(result);
System.out.println("the result is  " + result);