Hi there,

I would like to create a messagebox after clicking a button on the toolbar.
I have created a new icon with the actionTool extension.

However, I try to use the following code in run().
        Display display = new Display();
        final Shell shell = new Shell(display);

        MessageBox mb = new MessageBox(shell, SWT.OK);
        mb.open();

Is it the right way to do it or there is standard way to open a messagebox
in udig? Please advise.

Thanks,
Elton
-- 
View this message in context: 
http://old.nabble.com/how-to-create-a-messagebox-in-udig-tp26756528p26756528.html
Sent from the udig-devel mailing list archive at Nabble.com.

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to