From: Brian Hinz Date: Thu, 24 Jan 2013 16:14:01 +0000 (+0000) Subject: Cosmetic change. The background color of the viewport was not being applied properly. X-Git-Tag: v1.2.90~48 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9dcdb91e98ed9bdb8a71d972a1760b19fcdbb130;p=tigervnc.git 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 --- 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() {