aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/vncviewer/Viewport.java
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2013-01-24 16:14:01 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2013-01-24 16:14:01 +0000
commit9dcdb91e98ed9bdb8a71d972a1760b19fcdbb130 (patch)
tree954253700161cd191e314d5deb67cd14d329c4ff /java/com/tigervnc/vncviewer/Viewport.java
parenta0f89fbdd3f24260e0c92d5f28331d320941fb66 (diff)
downloadtigervnc-9dcdb91e98ed9bdb8a71d972a1760b19fcdbb130.tar.gz
tigervnc-9dcdb91e98ed9bdb8a71d972a1760b19fcdbb130.zip
Cosmetic change. The background color of the viewport was not being applied properly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5037 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/vncviewer/Viewport.java')
-rw-r--r--java/com/tigervnc/vncviewer/Viewport.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/vncviewer/Viewport.java b/java/com/tigervnc/vncviewer/Viewport.java
index bc19b642..ba29e0ac 100644
--- a/java/com/tigervnc/vncviewer/Viewport.java
+++ b/java/com/tigervnc/vncviewer/Viewport.java
@@ -107,7 +107,7 @@ public class Viewport extends JFrame
}
if (!cc.fullScreen)
setLocation(x, y);
- setBackground(Color.BLACK);
+ getContentPane().setBackground(Color.BLACK);
}
public static Window getFullScreenWindow() {