Package org.rioproject.tools.ui.serviceui

Examples of org.rioproject.tools.ui.serviceui.UndeployPanel


        JButton undeploy = new JButton("Undeploy");
        undeploy.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent event) {
                String[] names = graphView.getOpStringNames();
                JDialog dialog = new JDialog((JFrame)null, "Undeploy OperationalString", true);
                UndeployPanel u = new UndeployPanel(names, dialog);
                Container contentPane = dialog.getContentPane();
                contentPane.add(u, BorderLayout.CENTER);
                int width = 380;
                int height = 225;
                dialog.setSize(new Dimension(width, height));
                dialog.setLocationRelativeTo(frame);
                dialog.setVisible(true);
                final String name = u.getSelectedOpStringName();
                if(name==null)
                    return;
                final GraphNode node = graphView.getOpStringNode(name);
                final JDialog waitDialog = new WaitingDialog(frame, "Undeploying "+name+"...", 500);
                org.rioproject.tools.ui.util.SwingWorker worker = new org.rioproject.tools.ui.util.SwingWorker() {
View Full Code Here

TOP

Related Classes of org.rioproject.tools.ui.serviceui.UndeployPanel

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.