View Javadoc

1   // %2679287538:hoplugins.teamAnalyzer.ui.component%
2   package hoplugins.teamAnalyzer.ui.component;
3   
4   import hoplugins.Commons;
5   
6   import hoplugins.commons.ui.InfoPanel;
7   
8   
9   /***
10   * A joke panel :)
11   *
12   * @author <a href=mailto:draghetto@users.sourceforge.net>Massimiliano Amato</a>
13   */
14  public class JokePanel extends InfoPanel {
15      //~ Static fields/initializers -----------------------------------------------------------------
16  
17      private static String[] messages = new String[4];
18  
19      static {
20          if (Commons.getModel().getHelper().getLanguageName().equalsIgnoreCase("Italiano")) {
21              messages[0] = "Mi dispiace ma utilizzare il presente software ";
22              messages[1] = "per analizzare la squadra del creatore č considerato ";
23              messages[2] = "atto di pirateria e non puņ essere processato :) ";
24              messages[3] = "eh eh eh eh";
25          } else {
26              messages[0] = "I am sorry but use this software ";
27              messages[1] = "to analyze the creator's team has to be considered ";
28              messages[2] = "act of piracy and therefore cannot be processed :) ";
29              messages[3] = "eh eh eh eh";
30          }
31      }
32  
33      //~ Constructors -------------------------------------------------------------------------------
34  
35      /***
36       * Constructs a new instance.
37       */
38      public JokePanel() {
39          super(messages);
40      }
41  }