Package systeminformationmonitor.swing

Examples of systeminformationmonitor.swing.JavaEnvDialog


    }

    @Action
    public void showJavaInformationDialog() {
        // create the dialog
        final JavaEnvDialog javaInformationDialog = new JavaEnvDialog(getFrame(), true);
        javaInformationDialog.addWindowListener(new java.awt.event.WindowAdapter() {

            @Override
            public void windowOpened(WindowEvent e) {
                JavaInformationObject javaOjb =
                        JavaInformation.getJavaInformation();
                javaInformationDialog.setJavaHomeTextField(javaOjb.getJavaHome());
                javaInformationDialog.setJavaVMVendorTextField(javaOjb.getJvmVendor());
                javaInformationDialog.setJavaVersionTextField(javaOjb.getJvmVersion());
            }
        });

        XYCoord xyp = CalcDialogCenter.getDialogCenterLocation(getFrame(), javaInformationDialog);
        javaInformationDialog.setLocation(xyp.getX(), xyp.getY());
        javaInformationDialog.setVisible(true);
    }
View Full Code Here

TOP

Related Classes of systeminformationmonitor.swing.JavaEnvDialog

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.