Badly managed Java method on Mac OS X ?

by enkonyito » Tue Jun 11, 2019 3:19 am

In this thread, a window always stays on top of others on Mac OS X while the default behavior is the opposite.
Since this problem does not seem to occur on other systems, I suspect a badly managed Java method on Mac OS X.
What do you think?

Use the default behavior of the standard photo panel is not suitable because it destabilizes the progress bar by opening another photo panel.

Forcing the window to not always be on top, temporarily fixes the problem because after an action in Sweet Home 3D, the window always goes back on top.

Code: Select all

final JDialog dialog = optionPane.createDialog(SwingUtilities.getRootPane((Component) parentView), this.dialogTitle);
dialog.setModal(false);
dialog.setResizable(true); // PVR-1.4.1
if (dialog.isAlwaysOnTop()) { // PVR-1.7beta3_sol2 
  dialog.setAlwaysOnTop(false);
}
The PhotoVideoRendering plug-in is compiled with the JDK 8u201.

Enko