From 2066c98dd0f3ce3ff854f57dbea249850bcd9df8 Mon Sep 17 00:00:00 2001 From: Nehon Date: Tue, 10 Feb 2015 18:48:32 +0100 Subject: [PATCH] Fixed background color in some node editor windows to fit with a dark theme --- .../com/jme3/gde/materialdefinition/dialog/AddNodeDialog.form | 1 + .../com/jme3/gde/materialdefinition/dialog/AddNodeDialog.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddNodeDialog.form b/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddNodeDialog.form index 4cbf6d625..0d32cfa34 100644 --- a/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddNodeDialog.form +++ b/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddNodeDialog.form @@ -8,6 +8,7 @@ + diff --git a/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddNodeDialog.java b/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddNodeDialog.java index ca185eb4a..1704d1d26 100644 --- a/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddNodeDialog.java +++ b/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddNodeDialog.java @@ -204,7 +204,7 @@ public class AddNodeDialog extends javax.swing.JDialog { private void createDoc(ShaderNodeDefinition def) { JTextPane doc = new JTextPane(); doc.setEditable(false); - doc.setBackground(new java.awt.Color(240, 240, 240)); + //doc.setBackground(new java.awt.Color(240, 240, 240)); doc.setMaximumSize(new java.awt.Dimension(300, 300)); doc.setMinimumSize(new java.awt.Dimension(300, 300)); doc.setPreferredSize(new java.awt.Dimension(300, 300));