Package org.owasp.webscarab.ui.swing

Examples of org.owasp.webscarab.ui.swing.UIFramework


            final File session = t;
           
            final WebScarabUI ui;
           
            if (! lite) {
              UIFramework uif = new UIFramework(framework);
                loadAllPlugins(framework, uif);
                ui = uif;
            } else {
              Lite uif = new Lite(framework);
                loadLitePlugins(framework, uif);
View Full Code Here


                    }
                }
            }

            if (! lite) {
                final UIFramework uif = new UIFramework(framework);
                ExceptionHandler.setParentComponent(uif);
                loadAllPlugins(framework, uif);
                try {
                    SwingUtilities.invokeAndWait(new Runnable() {
                        public void run() {
                            uif.setVisible(true);
                            uif.toFront();
                            uif.requestFocus();
                            splash.close();
                        }
                    });
                } catch (Exception e) {
                    System.err.println("Error loading GUI: " + e.getMessage());
                    e.printStackTrace();
                    System.exit(1);
                }
                uif.run();
            } else {
                final Lite uif = new Lite(framework);
                ExceptionHandler.setParentComponent(uif);
                loadLitePlugins(framework, uif);
                try {
                    SwingUtilities.invokeAndWait(new Runnable() {
                        public void run() {
                            uif.setVisible(true);
                            uif.toFront();
                            uif.requestFocus();
                            splash.close();
                        }
                    });
                } catch (Exception e) {
                    System.err.println("Error loading GUI: " + e.getMessage());
                    e.printStackTrace();
                    System.exit(1);
                }
                uif.run();
            }
        } catch (Throwable t) {
            t.printStackTrace();
            JOptionPane.showMessageDialog(null, t, "Error!", JOptionPane.ERROR_MESSAGE);
        }
View Full Code Here

TOP

Related Classes of org.owasp.webscarab.ui.swing.UIFramework

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.