}
};
- };
+ }
private JLabel lblChannels = new JLabel();
chan.setURL(
jalview.bin.Cache.getDefault("JALVIEW_NEWS_RSS",
jalview.bin.Cache.getDefault("www.jalview.org",
- "http://www.jalview.org")
+ "https://www.jalview.org")
+ "/feeds/desktop/rss"));
loadLastM();
_channelModel.addChannel(chan);
} catch (Exception x)
{
}
- ;
if (chan != null && chan.getItems() != null)
{
Cache.log.debug("Scanning news items: newsnew=" + newsnew
public LaunchJvBrowserOnItem(JList listItems)
{
super("Open in Browser");
- this.putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_O));
+ this.putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_O));
this.putValue(Action.LONG_DESCRIPTION, "Open in Browser");
_listItems = listItems;
}
}
}
+ /**
+ * @j2sIgnore
+ * @param args
+ */
public static void main(String args[])
{
// this tests the detection of new news based on the last read date stored
} catch (InterruptedException x)
{
}
- ;
} while (me.isVisible());
if (me.isNewsNew())