JLabel l = pb.addLabel(mLocalizer.msg("header","Important informations about TV-Browser functionality!"), cc.xy(2,1));
l.setForeground(new Color(200,0,0));
l.setFont(l.getFont().deriveFont(Font.BOLD,20));
l.setBorder(Borders.createEmptyBorder("10dlu,0dlu,5dlu,0dlu"));
JEditorPane pane = UiUtilities.createHtmlHelpTextArea(mLocalizer.msg("text","<div style=\"font-size:medium;text-align:justify\"><p>TV-Browser can be extended with additional functions (Plugins), for instance to control hardware, other data sources, to load ratings from ImdB and much more.</p><p>You also can find more Plugins <a href=\"http://www.tvbrowser.org/downloads-mainmenu-5/plugins-mainmenu-24.html\">on our website</a>, that are currently not available to download from TV-Browser, but are mostly already usable.</p><p>Do you want to see the list with the Plugins available through download from TV-Browser?<br>(You also can always open that list over the Plugins menu.)</p></div>"),
new HyperlinkListener() {
public void hyperlinkUpdate(HyperlinkEvent e) {
if(e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
Launch.openURL(e.getURL().toString());
}
}
},Color.white);
pane.setPreferredSize(new Dimension(400,300));
pane.setBackground(Color.white);
pane.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createMatteBorder(0,0,1,0,Color.darkGray),Borders.createEmptyBorder("0dlu,10dlu,0dlu,10dlu")));
pb.add(pane, cc.xyw(1,2,3));
JButton[] buttons = {new JButton(mLocalizer.msg("showList","Show the list with the Plugins now")),
new JButton(mLocalizer.msg("closeDialog","Close this dialog"))};