need help please..

Hi, I am new in java and I need to write a program that calculate the total cost. can anyone tell me the easier way to use JOptionPane to ask the user to enter the number of rooms and then ask them to enter the square feet of each room.please help me out thank you
[285 byte] By [bluedevilza] at [2007-10-2 17:44:47]
# 1
See http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html
ChuckBinga at 2007-7-13 19:02:32 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
use JOption.InputDialogfor more help see java docs
sabarishrla at 2007-7-13 19:02:32 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...