*/
boolean getFocusedViewport()
{
- if (focusfixed || Desktop.getDesktopPane() == null)
+ if (focusfixed || Desktop.desktop == null)
{
if (ap != null && av != null)
{
}
// now checks further down the window stack to fix bug
// https://mantis.lifesci.dundee.ac.uk/view.php?id=36008
- JInternalFrame[] frames = Desktop.getDesktopPane().getAllFrames();
+ JInternalFrame[] frames = Desktop.desktop.getAllFrames();
for (int f = 0; f < frames.length; f++)
{
JInternalFrame alignFrame = frames[f];