Package edu.stanford.genetics.treeview

Examples of edu.stanford.genetics.treeview.LogBuffer.addObserver()


    testButton.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        LogBuffer lb = LogBuffer.getSingleton();
        boolean origStatus = lb.getLog();
        lb.setLog(true);
        lb.addObserver(GlobalPrefInfo.this);
        app.getGlobalConfig().getNode("Test").setAttribute("Hello", "Hello", "");
        app.getGlobalConfig().getNode("Test").setAttribute("Hello", "World", "");
        app.getGlobalConfig().store();
       
        lb.deleteObserver(GlobalPrefInfo.this);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.