JTextField as a double?
843805Dec 5 2006 — edited Dec 5 2006Hello..
I have a JTextField that I want to eat doubles - so I can send it to a parameter of a method that takes doubles...
How do I do that? What I have below doenst work as eating doubles, only String.. :S
JTextField startbelob; // a field
startbelob = new JTextField("Indtast startbel�bet");
centerJPanel.add(startbelob, BorderLayout.CENTER);
Best regards,
pse.