Ignore:
Timestamp:
2003-10-07T15:35:23+13:00 (21 years ago)
Author:
mdewsnip
Message:

Changed calls to the Dictionary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/AboutDialog.java

    r5589 r5593  
    5959
    6060    public AboutDialog(JFrame parent) {
    61     super(parent, Dictionary.newget("AboutDialog.Title"), true);
     61    super(parent, Dictionary.get("AboutDialog.Title"), true);
    6262    this.self = this;
    6363    setSize(SIZE);
     
    7171    JLabel title_one_label = new JLabel();
    7272    Dictionary.setText(title_one_label, "AboutDialog.Title_One");
    73     JLabel title_two_label = new JLabel(Utility.PROGRAM_NAME + " " + Utility.PROGRAM_VERSION + " " + Dictionary.newget("AboutDialog.Date"));
     73    JLabel title_two_label = new JLabel(Utility.PROGRAM_NAME + " " + Utility.PROGRAM_VERSION + " " + Dictionary.get("AboutDialog.Date"));
    7474    JLabel title_three_label = new JLabel();
    7575    Dictionary.setText(title_three_label, "AboutDialog.Title_Two");
     
    113113
    114114    // Build text content
    115     text.append(Dictionary.newget("AboutDialog.Java_Req"));
     115    text.append(Dictionary.get("AboutDialog.Java_Req"));
    116116    text.append("\n");
    117     text.append(Dictionary.newget("AboutDialog.Java_Req_One"));
     117    text.append(Dictionary.get("AboutDialog.Java_Req_One"));
    118118    text.append("\n");
    119     text.append(Dictionary.newget("AboutDialog.Java_Req_Two"));
     119    text.append(Dictionary.get("AboutDialog.Java_Req_Two"));
    120120    text.append("\n\n");
    121     text.append("*****" + Dictionary.newget("AboutDialog.Acknowledgement") + "*****");
     121    text.append("*****" + Dictionary.get("AboutDialog.Acknowledgement") + "*****");
    122122    text.append("\n\n");
    123     text.append(Dictionary.newget("AboutDialog.Item0"));
     123    text.append(Dictionary.get("AboutDialog.Item0"));
    124124    text.append("\n\n");
    125     text.append(Dictionary.newget("AboutDialog.Item1"));
     125    text.append(Dictionary.get("AboutDialog.Item1"));
    126126    text.append("\n\n");
    127     text.append(Dictionary.newget("AboutDialog.Item2"));
     127    text.append(Dictionary.get("AboutDialog.Item2"));
    128128    text.append("\n\n");
    129     text.append(Dictionary.newget("AboutDialog.Item3"));
     129    text.append(Dictionary.get("AboutDialog.Item3"));
    130130    text.append("\n\n");
    131     text.append("*****" + Dictionary.newget("AboutDialog.Thanks") + "*****");
     131    text.append("*****" + Dictionary.get("AboutDialog.Thanks") + "*****");
    132132    text.append("\n\n");
    133     text.append(Dictionary.newget("AboutDialog.Item4"));
     133    text.append(Dictionary.get("AboutDialog.Item4"));
    134134    text.append("\n\n");
    135     text.append(Dictionary.newget("AboutDialog.Item5"));
     135    text.append(Dictionary.get("AboutDialog.Item5"));
    136136    text.append("\n\n");
    137     text.append(Dictionary.newget("AboutDialog.Item6"));
     137    text.append(Dictionary.get("AboutDialog.Item6"));
    138138    text.append("\n\n");
    139     text.append(Dictionary.newget("AboutDialog.Item7"));
     139    text.append(Dictionary.get("AboutDialog.Item7"));
    140140    text.append("\n\n");
    141     text.append(Dictionary.newget("AboutDialog.Item8"));
     141    text.append(Dictionary.get("AboutDialog.Item8"));
    142142    text.setCaretPosition(0);
    143143
Note: See TracChangeset for help on using the changeset viewer.