From: BobHanson Date: Mon, 1 Jun 2020 21:48:12 +0000 (-0500) Subject: JAL-3262 from JAL-3253-applet temp. Desktop instance hack X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6f4eb0219ecb404e857b63f22d0ee00db8a4c823;p=jalview.git JAL-3262 from JAL-3253-applet temp. Desktop instance hack --- 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; } + }