git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3210 Barebones gradle/buildship/eclipse. See README
[jalview.git]
/
src
/
jalview
/
gui
/
Finder.java
diff --git
a/src/jalview/gui/Finder.java
b/src/jalview/gui/Finder.java
index
2a6adda
..
a1693f7
100755
(executable)
--- a/
src/jalview/gui/Finder.java
+++ b/
src/jalview/gui/Finder.java
@@
-176,7
+176,7
@@
public class Finder extends GFinder
*/
boolean getFocusedViewport()
{
*/
boolean getFocusedViewport()
{
- if (focusfixed || Desktop.getDesktopPane() == null)
+ if (focusfixed || Desktop.desktop == null)
{
if (ap != null && av != null)
{
{
if (ap != null && av != null)
{
@@
-187,7
+187,7
@@
public class Finder extends GFinder
}
// now checks further down the window stack to fix bug
// https://mantis.lifesci.dundee.ac.uk/view.php?id=36008
}
// 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];
for (int f = 0; f < frames.length; f++)
{
JInternalFrame alignFrame = frames[f];