From edf5db0f44762e06eb8ca675370d4f81d2961698 Mon Sep 17 00:00:00 2001 From: Nehon Date: Tue, 10 Feb 2015 00:46:17 +0100 Subject: [PATCH] Fixed context menu display in the node editor --- .../com/jme3/gde/materialdefinition/editor/Diagram.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/editor/Diagram.java b/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/editor/Diagram.java index a4161129f..e1ca87657 100644 --- a/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/editor/Diagram.java +++ b/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/editor/Diagram.java @@ -540,13 +540,6 @@ public class Diagram extends JPanel implements MouseListener, MouseMotionListene super(label); } - @Override - protected void paintComponent(Graphics g) { - //Color c1 = new Color(100, 100, 100, 255); - Color bg = new Color(175, 175, 175); - g.setColor(bg); - g.fillRect(0, 0, getWidth(), getHeight()); - } } public void fixSize() {