• Post Reply Bookmark Topic Watch Topic
  • New Topic

display string message in Dialog

 
johny sill
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to display string as a Dialog,

Suppose string is a "Success" it simply display in success in Dialog.

Help me,

Thanks in advance
 
Amit Ghai
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I have understood your problem correctly you mean you want to display the text in some dialogbox. Try the JOptionPane.showMessageDialog method.
 
johny sill
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply

JOptionPane.showMessageDialog();

it works fine
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!