mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
This commit is contained in:
@@ -71,7 +71,7 @@ public class TitledSeparator extends JPanel {
|
||||
|
||||
public void setText(String text) {
|
||||
originalText = text;
|
||||
myLabel.setText(text.startsWith("<html>") ? text : UIUtil.replaceMnemonicAmpersand(originalText));
|
||||
myLabel.setText(text != null && text.startsWith("<html>") ? text : UIUtil.replaceMnemonicAmpersand(originalText));
|
||||
}
|
||||
public void setTitleFont(Font font) {
|
||||
myLabel.setFont(font);
|
||||
|
||||
Reference in New Issue
Block a user