Package net.jini.lookup.ui.factory

Examples of net.jini.lookup.ui.factory.JDialogFactory


            win.setVisible(true);
            uiObj = win;
        }

        private void launchDialogUI(Object factory, Object item) throws IOException, ClassNotFoundException {
            JDialogFactory fac = (JDialogFactory)factory;
            JDialog d = fac.getJDialog(item);
            d.validate();
            d.pack();
            d.setVisible(true);
            uiObj = d;
        }
View Full Code Here


                }
                JComponentFrame componentFrame = new JComponentFrame(component, name);
                componentFrame.setLocationRelativeTo(parent);
                componentFrame.setVisible(true);
            } else if(JDialogFactory.class.isAssignableFrom(factoryClass)) {
                JDialogFactory uiFactory = (JDialogFactory)factory;
                JDialog dialog = uiFactory.getJDialog(serviceItem);
                dialog.validate();
                dialog.setVisible(true);
            }
        } catch (Exception e) {
            Util.showError(e, parent, "Service UI Exception");
View Full Code Here

TOP

Related Classes of net.jini.lookup.ui.factory.JDialogFactory

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.