JOptionPane - Java Basics
Loading...
3,624
Loading...
Uploader Comments (TheTigerTutorials)
see all
All Comments (12)
-
very nice tutorial, helped me out of a tight spot because I missed a class.
-
@TheTigerTutorials thanks alot:D Very nice vids :D
-
thank you for uploading!!!!!!
it is so useful!!!!!
Loading...
Why do you have all those classes :D ?
MultiGamerDA 2 months ago
@MultiGamerDA They are other programs, Ignore them, they are unrelated to the current program.
TheTigerTutorials 2 months ago
@MultiGamerDA Because I'm a busy programmer.
TheTigerTutorials 2 months ago
Great Tutorials...i wanted to ask that if can we change its title ??
MsHappyNails 4 months ago
@MsHappyNails Thanks for watching Tiger Tutorials, Answer: You can change the title of the message by adding more items to the parameter, it would be done like this: JOptionPane.showInputDialog(null,"Please enter number","TITLE",JOptionPane.PLAIN_MESSAGE); . You can change the icon to the left of the message by replacing PLAIN MESSAGE with any of these: ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE. Take a look at the Java API, hit Ctrl F and type in "JOptionPane".
TheTigerTutorials 4 months ago
@TheTigerTutorials thank you so much for answering!!...really helped me...actually i'm making a computer project and i know i'm asking a lot but is it possible that we can have drop down menu or radiobuttons in this dialog box...and thank you for the help once again..!!
MsHappyNails 4 months ago
@MsHappyNails Sorry for slow response time. I've just made a tutorial on my website for using JOptionPane. It can be found here tigertutorials . com/java.php?content=javalessons&id=6
TheTigerTutorials 4 months ago