Skip to content

Commit

Permalink
exchanged system.out.println with propper logging
Browse files Browse the repository at this point in the history
  • Loading branch information
finkf committed Jun 19, 2015
1 parent f2fcb28 commit df27492
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CompleteImageView/nbproject/genfiles.properties
@@ -1,8 +1,8 @@
build.xml.data.CRC32=e70b6ee9
build.xml.data.CRC32=d6675043
build.xml.script.CRC32=62ec1a96
build.xml.stylesheet.CRC32=a56c6a5b@1.46.1
build.xml.stylesheet.CRC32=a56c6a5b@2.67.1
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=e70b6ee9
nbproject/build-impl.xml.data.CRC32=d6675043
nbproject/build-impl.xml.script.CRC32=8f3c8772
nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.46.1
nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.67.1
8 changes: 8 additions & 0 deletions CompleteImageView/nbproject/project.xml
Expand Up @@ -38,6 +38,14 @@
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>jav.logging.log4j</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>javax.media.jai</code-name-base>
<build-prerequisite/>
Expand Down
Expand Up @@ -14,6 +14,7 @@
import jav.gui.events.tokenSelection.TokenSelectionEventSlot;
import jav.gui.main.AbstractMyTopComponent;
import jav.gui.main.MainController;
import jav.logging.log4j.Log;
import java.awt.EventQueue;
import java.awt.RenderingHints;
import java.util.logging.Logger;
Expand Down Expand Up @@ -234,7 +235,7 @@ public void run() {

private void loadImage(String filename, double scalef) {

System.out.println("imageload" + filename);
Log.info(this, "loadImage(%s, %f)", filename, scalef);
if (sp != null) {
content.remove(this);
}
Expand Down

0 comments on commit df27492

Please sign in to comment.