[#2161] Add setForeground and setBackground functions to DescriptionArea
This commit is contained in:
parent
dbd08ea03f
commit
3f86a868ee
@ -203,4 +203,14 @@ public class DescriptionArea extends JScrollPane {
|
||||
}
|
||||
}
|
||||
|
||||
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