• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dialog + continue Jframe  RSS feed

 
christopher temple
Greenhorn
Posts: 8
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did a google search for Jframes and dialog boxes trying to find out the best way to display some text, and have a continue/next button. I been reading the JFrame, and I'm wondering if that is the best route to go, or is there another type of frame I can read about?

I'm reading the documentation at https://docs.oracle.com/javase/7/docs/api/javax/swing/JOptionPane.html and it clearly says :


I was messing around with the Object[] but that makes a drop down menu. Can someone link an article or guide or suggest something for me to look up if I just want to create a new window, thats displays some text and has a continue button.
 
christopher temple
Greenhorn
Posts: 8
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok figured it out myself Had to use

 
Campbell Ritchie
Marshal
Posts: 56518
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done showing us the solution
 
christopher temple
Greenhorn
Posts: 8
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Well done showing us the solution


Thank you, figured someone else may come searching for the same problem one day hehe.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
christopher temple wrote:
Thank you, figured someone else may come searching for the same problem one day hehe.

I think this thinking merits a reward. Have a Cow! Moo!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!