Badly managed Java method on Mac OS X ?

This topic has been viewed 8414 times and has 1 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Badly managed Java method on Mac OS X ?

Post by enkonyito »

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
EnkoNyito
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Badly managed Java method on Mac OS X ?

Post by enkonyito »

Your suggestion was right, Enko, it was a Java-issue.
After installing the latest java update, the problem is now gone!
Tested again and again, same result.
EnkoNyito
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest