Package org.boris.winrun4j

Examples of org.boris.winrun4j.RegistryKey


        EventLog.report("WinRun4J Test", EventLog.INFORMATION,
                "A test information log");

        // Test registry
        sb.append("\n\nRegistry Test\n=============\n\n");
        RegistryKey key = new RegistryKey(RegistryKey.HKEY_CURRENT_USER,
                "Control Panel\\Appearance\\Schemes");
        key.open();
        String[] names = key.getValueNames();
        for (int i = 0; i < names.length && i < 5; i++) {
            sb.append(names[i]);
            sb.append("\n");
        }
        key.close();

        text.setText(sb.toString());
        frame.getContentPane().add(new JScrollPane(text));
        frame.setSize(500, 500);
        frame.setLocation(30, 30);
View Full Code Here

TOP

Related Classes of org.boris.winrun4j.RegistryKey

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.