From f22d7e2ed999a88ef99e511863c01baa7cbdebd7 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Fri, 18 Jun 2010 08:52:40 +0000 Subject: [PATCH] Add missing setBackground methods to current adempiere comp Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3017921 --- base/src/org/compiere/swing/CField.java | 6 ++++++ client/src/org/compiere/grid/ed/VDate.java | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/base/src/org/compiere/swing/CField.java b/base/src/org/compiere/swing/CField.java index d13c73cf03..5426e7ae8b 100644 --- a/base/src/org/compiere/swing/CField.java +++ b/base/src/org/compiere/swing/CField.java @@ -324,5 +324,11 @@ public class CField extends JComboBox super.firePropertyChange("DataChanged", m_oldValue, newValue); m_oldValue = newValue; } // // actionPerformed + + @Override + public void setBackground(Color bg) + { + m_editor.setBackground(bg); + } } // CField diff --git a/client/src/org/compiere/grid/ed/VDate.java b/client/src/org/compiere/grid/ed/VDate.java index 60527825ec..ad71199fc6 100644 --- a/client/src/org/compiere/grid/ed/VDate.java +++ b/client/src/org/compiere/grid/ed/VDate.java @@ -626,4 +626,10 @@ public class VDate extends JComponent } } // fireActionPerformed /**/ + + @Override + public void setBackground(Color bg) + { + m_text.setBackground(bg); + } } // VDate \ No newline at end of file