JTextField xxx = new JTextField();
Double yyy = Double.parseDouble(xxx.getText());