Package java.util.prefs

Examples of java.util.prefs.NodeChangeListener


  @Test
  public void testRemoveNodeChangeListenerNodeChangeListener() {
    final SynchronousQueue<String> done = new SynchronousQueue<String>();
    final String key = "testRemoveNodeChangeListenerNodeChangeListener";
    Preferences prefs = getCPRoot().node(key);
    final NodeChangeListener ncl = new NodeChangeListener() {

      public void childAdded(NodeChangeEvent evt) {
        assertEquals(key, evt.getChild().name());
        try {
          done.put("Added");
View Full Code Here

TOP

Related Classes of java.util.prefs.NodeChangeListener

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.