From 9dcdb91e98ed9bdb8a71d972a1760b19fcdbb130 Mon Sep 17 00:00:00 2001 From: Brian Hinz Date: Thu, 24 Jan 2013 16:14:01 +0000 Subject: [PATCH] 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 --- java/com/tigervnc/vncviewer/Viewport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5