Revision: e7e239707532 Branch: default Author: Michael Whapples Date: Wed Jul 16 11:31:12 2014 UTC Log: Change a message output from println to logging http://code.google.com/p/brailleblaster/source/detail?r=e7e239707532 Modified: /src/main/org/brailleblaster/wordprocessor/WPManager.java =======================================--- /src/main/org/brailleblaster/wordprocessor/WPManager.java Wed Jun 25 13:24:35 2014 UTC +++ /src/main/org/brailleblaster/wordprocessor/WPManager.java Wed Jul 16 11:31:12 2014 UTC
@@ -52,12 +52,15 @@ import org.brailleblaster.util.YesNoChoice; import java.util.LinkedList; +import java.util.logging.Level; +import java.util.logging.Logger; public class WPManager { /*** This is the controller for the whole word processing operation. It is the * entry point for the word processor, and therefore the only public class.
*/+ private static Logger logger = Logger.getLogger("org.brailleblaster.wordprocessor");
public static Display display; private Shell shell; private FormLayout layout; @@ -122,7 +125,7 @@ shell.addListener(SWT.Close, new Listener() { @Override public void handleEvent(Event event) {- System.out.println("Main Shell handling Close event, about to dispose the main Display"); + logger.log(Level.INFO, "Main Shell handling Close event, about to dispose the main Display");
while(managerList.size() > 0){ Controller temp = managerList.removeFirst();