Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Message-Box in Scout(How to show the message-box in Scout Project)
icon3.gif  Message-Box in Scout [message #1027747] Wed, 27 March 2013 07:12 Go to next message
marco giudici is currently offline marco giudici
Messages: 121
Registered: February 2013
Senior Member
Hi all,
I need to show a message box in my Scout project with a specific text.
How can I do?

I tried with "JOptionPane.showMessageDialog", but Eclipse highlights to me an error : Quote:
The method showMessageDialog(Component, Object, String, int) in the type JOptionPane is not applicable for the arguments


I think it's a stupid thing that escapes me. Can anyone help me to understand?
Re: Message-Box in Scout [message #1027759 is a reply to message #1027747] Wed, 27 March 2013 07:35 Go to previous message
Nils Israel is currently offline Nils Israel
Messages: 30
Registered: May 2010
Member
Hi Marco,
you can use
MessageBox.showOkMessage(title, header, info);

There are methods for other message boxes (Yes/No, Yes/No/Cancel, DeleteConfirmation) as well.
Previous Topic:TablePage in TableField
Next Topic:Scout SDK: Auto completion on templated formData not working
Goto Forum:
  


Current Time: Thu Jul 24 23:49:57 EDT 2014

Powered by FUDForum. Page generated in 0.08526 seconds