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: 178
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
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:Adding context menus to SVG fields
Next Topic:Is possible to create a dynamic PageView and Form ?
Goto Forum:

Current Time: Sun Aug 20 02:18:16 GMT 2017

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

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