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 11:12 Go to next message
marco giudici is currently offline marco giudiciFriend
Messages: 152
Registered: February 2013
Location: Italy
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 11:35 Go to previous message
Nils Israel is currently offline Nils IsraelFriend
Messages: 32
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: Wed Nov 26 22:07:13 GMT 2014

Powered by FUDForum. Page generated in 0.03522 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software