[#2161] Add setForeground and setBackground functions to DescriptionArea
This commit is contained in:
parent
dbd08ea03f
commit
3f86a868ee
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user