From: hansonr Date: Sun, 24 Jun 2018 07:11:53 +0000 (+0100) Subject: AlignmentFrame opacity set to TRUE for JavaScript. X-Git-Tag: Release_2_11_4_0~45^2~18^2~653 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=626efcf82a9d84060616dde42a857b8971c9c2ba;p=jalview.git AlignmentFrame opacity set to TRUE for JavaScript. This seems to be some sort of JavaScript fluke, because if you set the background color of an internal div to opaque but then set the background color of that div's parent to transparent, then it goes transparent. --- diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index fc95f83..c08c64e 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -880,7 +880,8 @@ public class Desktop extends jalview.jbgui.GDesktop frame.setResizable(resizable); frame.setMaximizable(resizable); frame.setIconifiable(resizable); - frame.setOpaque(false); + frame.setOpaque(/** @j2sNative true || */ + false); if (frame.getX() < 1 && frame.getY() < 1) {