Package org.fenrir.yggdrasil.ui.dialog

Examples of org.fenrir.yggdrasil.ui.dialog.ErrorDialog


   
    public void displayErrorMessage(final String message, final Throwable error)
    {
        if(mainWindow!=null){
            if(SwingUtilities.isEventDispatchThread()){           
                new ErrorDialog(mainWindow, message, error).open();
            }
            else{
                try{
                    SwingUtilities.invokeAndWait(new Runnable()
                    {
                        @Override
                        public void run()
                        {
                            new ErrorDialog(mainWindow, message, error).open();
                        }
                    });
                }
                catch(Exception e){
                    log.error("Error mostrant finestra d'error: {}", e.getMessage(), e);
View Full Code Here

TOP

Related Classes of org.fenrir.yggdrasil.ui.dialog.ErrorDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.