mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Naive fix for EA-53569
This commit is contained in:
+3
-1
@@ -276,7 +276,9 @@ public class NotificationsManagerImpl extends NotificationsManager {
|
||||
|
||||
final JPanel content = new NonOpaquePanel(new BorderLayout((int)(label.getIconTextGap() * 1.5), (int)(label.getIconTextGap() * 1.5)));
|
||||
|
||||
text.setCaretPosition(0);
|
||||
if (text.getCaret() != null) {
|
||||
text.setCaretPosition(0);
|
||||
}
|
||||
JScrollPane pane = ScrollPaneFactory.createScrollPane(text,
|
||||
ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
|
||||
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
|
||||
|
||||
Reference in New Issue
Block a user