What code would I use to ask a user to enter their grade into a pop-up window?
When a JButton is pressed, I want a little box to pop-up and prompt the user to enter their grade. Furthermore, would it be possible to get the value of the entered double value?
Thanks for all your time. I appreciate it!
Use JOptionPane.showInputDialog().
You can find a nice tutorial at: http://download.oracle.com/javase/tutorial/uiswing/components/dialog.html#input