Hello, I was trying to learn Java a few months ago through the Sun tutorials and Sun.com. However, I stopped trying because I COULD NOT FIND HOW TO DO ANY SIMPLE INPUT. All I could do was make a command promt style program that said "hi, would you like to see my array? I'll show you my array, because you cannot give me any Yes/No input!" Exciting... anyway, would anyone please tell me the simplest input function for Java? Or is there a reason that I couldn't find it? I'd like to start learning Java again! Thank you very much. ~ASauce
import Javax.swing.* package, and use the JOptionPane.showInputDialog( String msg) to accept input. It returns String so type cast to your desired type.