summaryrefslogtreecommitdiff
path: root/src/bjc/imgchain/utils/Utils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/bjc/imgchain/utils/Utils.java')
-rw-r--r--src/bjc/imgchain/utils/Utils.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bjc/imgchain/utils/Utils.java b/src/bjc/imgchain/utils/Utils.java
index a4df9de..86daa0d 100644
--- a/src/bjc/imgchain/utils/Utils.java
+++ b/src/bjc/imgchain/utils/Utils.java
@@ -62,15 +62,15 @@ public class Utils {
public static void displayImage(Image processed, String title) {
{
BufferedImage resimg = toBuffered(processed);
-
+
JInternalFrame displayFrame = new JInternalFrame(title, false, true, true);
displayFrame.setSize(resimg.getWidth(), resimg.getHeight());
displayFrame.setLayout(new GridLayout(1, 1));
-
+
JLabel displayLabel = new JLabel(new ImageIcon(resimg));
-
+
displayFrame.add(displayLabel);
-
+
ImgChain.chan.desktop.add(displayFrame);
displayFrame.setVisible(true);
}