This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi everyone, hmm i'm doing a swing applet and i have trouble getting the int from the text field... for example : JTextField textField = new JTextField(10); when lets say if someone key in numbers in this text field will i be able to retrieve the number from the String(i suppose textField.getText() is to get the value in the text field right?and it is a String..) i've look thru java API and it says that i can convert a String to an integer by using parseInt or decode right?but how do i use it? thanks