import org.jmol.api.JmolAppConsoleInterface;
import org.jmol.api.JmolViewer;
+import org.jmol.applet.AppletConsole;
import org.jmol.popup.JmolPopup;
class AppletJmolBinding extends jalview.ext.jmol.JalviewJmolBinding
protected JmolAppConsoleInterface createJmolConsole(JmolViewer viewer2,
Container consolePanel, String buttonsToShow)
{
- // TODO Auto-generated method stub
- return null;
+ return new AppletConsole(viewer2, consolePanel);
+ }
+ @Override
+ protected void releaseUIResources()
+ {
+ appletJmolBinding = null;
+ if (console!=null) {
+ try {
+ console.setVisible(false);
+ } catch (Error e) {} catch (Exception x) {};
+ console=null;
+ }
+
}
}
\ No newline at end of file