JOptionPane - Initialise a default value

HI

I am using the below code to take entries but I need to put some default values in the text fields when it pops up. Can anyone tell me how to initialise it with a value?

String textValue = JOptionPane.showInputDialog("Please enter your text");

Thanks

[303 byte] By [getusamaa] at [2007-11-26 16:42:20]
# 1
Please use the API for questions such as this. http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JOptionPane.html
zadoka at 2007-7-8 23:09:26 > top of Java-index,Desktop,Core GUI APIs...
# 2
oops i'm sorry .. i did had a look at it before but for some reason i didnt find initialValue property then... Thanks
getusamaa at 2007-7-8 23:09:26 > top of Java-index,Desktop,Core GUI APIs...