[#2161] Add setForeground and setBackground functions to DescriptionArea

This commit is contained in:
May 2023-04-24 01:03:30 -04:00
parent dbd08ea03f
commit 3f86a868ee

View File

@ -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);
}
}