void (@NotNull Graphics g, @NotNull JComponent c, @NotNull Rectangle trackBounds) { if (myEditor.isDisposed()) return; if (transparent()) { ReadAction.run(() -> doPaintTrack(g, c, trackBounds)); } else { super.paintTrack(g, c, trackBounds); } }