mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE fix
This commit is contained in:
@@ -422,7 +422,7 @@ public class LightweightHint extends UserDataHolderBase implements Hint {
|
||||
|
||||
public Point getLocationOn(JComponent c) {
|
||||
Point location;
|
||||
if (isRealPopup()) {
|
||||
if (isRealPopup() && !myPopup.isDisposed()) {
|
||||
location = myPopup.getLocationOnScreen();
|
||||
SwingUtilities.convertPointFromScreen(location, c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user