From 6f4eb0219ecb404e857b63f22d0ee00db8a4c823 Mon Sep 17 00:00:00 2001 From: BobHanson Date: Mon, 1 Jun 2020 16:48:12 -0500 Subject: [PATCH] JAL-3262 from JAL-3253-applet temp. Desktop instance hack --- src/jalview/gui/Desktop.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 59541bb..eaf99be 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -204,6 +204,16 @@ public class Desktop extends jalview.jbgui.GDesktop /** Singleton Desktop instance */ public static Desktop instance; + /** + * BH TEMPORARY ONLY -- should use ApplicationSingleton + * + * @return + */ + public static Object getInstance() + { + return instance; + } + public static MyDesktopPane desktop; public static MyDesktopPane getDesktop() @@ -3364,4 +3374,5 @@ public class Desktop extends jalview.jbgui.GDesktop } return result; } + } -- 1.7.10.2