Using JOptionPane

Important Suggestions

Instead of submitting information in Java at run time through initializing variables to certain values, JOptionPane can be used to submit information through a text box. Before performing math on values passed in by JOptionPane's dialogs, you must parse the String into its corresponding data type. //Add a tutorial// --> Converting Strings into Integers and Doubles can be found at this link.


JOptionPane offers the ability for a program to inform or query the user when a certain event is triggered.


You need to log into your account to post comments!Sign In