mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
include window class into diagnostics (met with documentation popup)
This commit is contained in:
@@ -189,7 +189,7 @@ public class MacUtil {
|
||||
} else if (documentRoot instanceof Dialog) {
|
||||
windowTitle = ((Dialog)documentRoot).getTitle();
|
||||
} else {
|
||||
throw new RuntimeException("The window is not a frame and not a dialog!");
|
||||
throw new RuntimeException("The window " + documentRoot.getClass() + " is not a frame and not a dialog!");
|
||||
}
|
||||
return windowTitle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user