diff --git a/swing/src/net/sf/openrocket/gui/components/DescriptionArea.java b/swing/src/net/sf/openrocket/gui/components/DescriptionArea.java index b60d4f6ad..39ca75da0 100644 --- a/swing/src/net/sf/openrocket/gui/components/DescriptionArea.java +++ b/swing/src/net/sf/openrocket/gui/components/DescriptionArea.java @@ -202,5 +202,15 @@ public class DescriptionArea extends JScrollPane { editorPane.setFont(font); } } + + public void setBackground(Color color) { + if (editorPane == null) return; + editorPane.setBackground(color); + } + + public void setForeground(Color color) { + if (editorPane == null) return; + editorPane.setForeground(color); + } }