This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am doing this for a school project and would like the user to be able to enter in yes if they would like to view the instructions if they would like. i have the rest of the program working but right now it is just letting them enter a number and i can not find out how to let them input a word without errors.
public void actionPerformed(ActionEvent e)
Double name, instructions;
name = Double.parseDouble(nameTF.getText()); //We use the getText & setText methods to manipulate the data entered into those fields.
instructions = Double.parseDouble(instructionsTF.getText());