*/
package jalview.gui;
-import jalview.jbgui.GWebserviceInfo;
-import jalview.util.MessageManager;
-import jalview.ws.WSClientI;
-
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.text.html.HTMLEditorKit;
import javax.swing.text.html.StyleSheet;
+import jalview.jbgui.GWebserviceInfo;
+import jalview.util.ChannelProperties;
+import jalview.util.MessageManager;
+import jalview.ws.WSClientI;
+
/**
* Base class for web service client thread and gui TODO: create StAX parser to
* extract html body content reliably when preparing html formatted job statuses
this.title = title;
setInfoText(info);
- java.net.URL url = getClass()
- .getResource("/images/Jalview_Logo_small_with_border.png");
- image = java.awt.Toolkit.getDefaultToolkit().createImage(url);
+ image = ChannelProperties.getImage("rotatable_logo.48");
MediaTracker mt = new MediaTracker(this);
mt.addImage(image, 0);
Thread thread = new Thread(ap);
thread.start();
final WebserviceInfo thisinfo = this;
- frame.addInternalFrameListener(
- new InternalFrameAdapter()
- {
- @Override
- public void internalFrameClosed(InternalFrameEvent evt)
- {
- // System.out.println("Shutting down webservice client");
- WSClientI service = thisinfo.getthisService();
- if (service != null && service.isCancellable())
- {
- service.cancelJob();
- }
- }
- });
+ frame.addInternalFrameListener(new InternalFrameAdapter()
+ {
+ @Override
+ public void internalFrameClosed(InternalFrameEvent evt)
+ {
+ // System.out.println("Shutting down webservice client");
+ WSClientI service = thisinfo.getthisService();
+ if (service != null && service.isCancellable())
+ {
+ service.cancelJob();
+ }
+ }
+ });
frame.validate();
}
}
@Override
- public void paintComponent(Graphics g1)
+ public void paintComponent(Graphics g1)
{
drawPanel();
}
@Override
-public void hyperlinkUpdate(HyperlinkEvent e)
+ public void hyperlinkUpdate(HyperlinkEvent e)
{
Desktop.hyperlinkUpdate(e);
}
banner=/images/jalview_develop_banner.png
logo.16=/images/jalview_develop_logo-16.png
logo.32=/images/jalview_develop_logo-32.png
+logo.38=/images/jalview_develop_logo-38.png
logo.48=/images/jalview_develop_logo-48.png
logo.64=/images/jalview_develop_logo-64.png
logo.128=/images/jalview_develop_logo-128.png
logo.256=/images/jalview_develop_logo-256.png
logo.512=/images/jalview_develop_logo-512.png
-rotatable_logo.48=/images/rotatable_jalview_develop_logo-48.png
+rotatable_logo.48=/images/rotatable_jalview_develop_logo-38.png
default_appbase=https://www.jalview.org/getdown/develop/11
banner=/images/jalview_banner.png
logo.16=/images/jalview_logo-16.png
logo.32=/images/jalview_logo-32.png
+logo.38=/images/jalview_logo-38.png
logo.48=/images/jalview_logo-48.png
logo.64=/images/jalview_logo-64.png
logo.128=/images/jalview_logo-128.png
logo.256=/images/jalview_logo-256.png
logo.512=/images/jalview_logo-512.png
-rotatable_logo.48=/images/rotatable_jalview_logo-48.png
+rotatable_logo.48=/images/rotatable_jalview_logo-38.png
default_appbase=https://www.jalview.org/getdown/release/1.8