diff --git a/Mage.Client/src/main/java/mage/client/components/ColorPane.java b/Mage.Client/src/main/java/mage/client/components/ColorPane.java index c835dbf973a..370459a2664 100644 --- a/Mage.Client/src/main/java/mage/client/components/ColorPane.java +++ b/Mage.Client/src/main/java/mage/client/components/ColorPane.java @@ -17,18 +17,21 @@ import javax.swing.text.html.HTMLEditorKit; public class ColorPane extends JEditorPane { HTMLEditorKit kit = new HTMLEditorKit(); - HTMLDocument doc = new HTMLDocument(); - + HTMLDocument doc = new HTMLDocument(); + public ColorPane() { this.setEditorKit(kit); this.setDocument(doc); } + /** - * This method solves the known issue with Nimbus LAF background transparency and background color. + * This method solves the known issue with Nimbus LAF background + * transparency and background color. + * * @param color */ public void setExtBackgroundColor(Color color) { - setBackground(new Color(0,0,0,0)); + setBackground(new Color(0, 0, 0, 0)); JPanel jPanel = new JPanel(); jPanel.setBackground(color); setLayout(new BorderLayout()); @@ -73,4 +76,4 @@ public class ColorPane extends JEditorPane { super.paintChildren(g); } -} \ No newline at end of file +} diff --git a/Mage.Client/src/main/java/mage/client/table/PlayersChatPanel.form b/Mage.Client/src/main/java/mage/client/table/PlayersChatPanel.form index 9ef7f54408f..324258710a2 100644 --- a/Mage.Client/src/main/java/mage/client/table/PlayersChatPanel.form +++ b/Mage.Client/src/main/java/mage/client/table/PlayersChatPanel.form @@ -1,6 +1,10 @@ -