Ignore:
Timestamp:
May 2, 2013, 1:15:35 PM (12 years ago)
Author:
alloc
Message:

AEI2.08:

Location:
java/installer2/src/net/oni2/aeinstaller/gui
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/gui/about/AboutDialog.java

    r840 r849  
    1111import javax.swing.KeyStroke;
    1212
    13 import net.oni2.aeinstaller.gui.HTMLLinkLabel;
    1413import net.oni2.resourcebundle.UTF8ResourceBundleLoader;
     14import net.oni2.swingcomponents.HTMLLinkLabel;
    1515
    1616import org.javabuilders.BuildResult;
  • java/installer2/src/net/oni2/aeinstaller/gui/packageinfobox/PackageInfoBox.java

    r840 r849  
    11package net.oni2.aeinstaller.gui.packageinfobox;
    22
    3 import java.awt.Insets;
    43import java.util.ResourceBundle;
    54
    6 import javax.swing.JLabel;
    75import javax.swing.JPanel;
    86
     
    108import net.oni2.aeinstaller.backend.packages.Package;
    119import net.oni2.aeinstaller.backend.packages.Type;
    12 import net.oni2.aeinstaller.gui.HTMLLinkLabel;
    1310import net.oni2.resourcebundle.UTF8ResourceBundleLoader;
     11import net.oni2.swingcomponents.HTMLLinkLabel;
    1412
    1513import org.javabuilders.BuildResult;
     
    2826        private BuildResult result = SwingJavaBuilder.build(this, bundle);
    2927
    30         private JLabel lblTitleVal;
    31         private JLabel lblCreatorVal;
    32         private JLabel lblTypesVal;
    33         private JLabel lblPlatformVal;
    34         private JLabel lblPackageNumberVal;
    35         private JLabel lblVersionNumberVal;
     28        private HTMLLinkLabel lblTitleVal;
     29        private HTMLLinkLabel lblCreatorVal;
     30        private HTMLLinkLabel lblTypesVal;
     31        private HTMLLinkLabel lblPlatformVal;
     32        private HTMLLinkLabel lblPackageNumberVal;
     33        private HTMLLinkLabel lblVersionNumberVal;
    3634        private HTMLLinkLabel lblDescriptionVal;
    37         private JLabel lblDownloadSizeVal;
     35        private HTMLLinkLabel lblDownloadSizeVal;
    3836
    3937        /**
     
    4240        public PackageInfoBox() {
    4341                super();
    44                 lblDescriptionVal.setMargin(new Insets(-15, 0, 0, 0));
     42                lblTitleVal.enableBorder(false);
     43                lblCreatorVal.enableBorder(false);
     44                lblTypesVal.enableBorder(false);
     45                lblPlatformVal.enableBorder(false);
     46                lblPackageNumberVal.enableBorder(false);
     47                lblVersionNumberVal.enableBorder(false);
     48                lblDownloadSizeVal.enableBorder(false);
    4549        }
    4650
     
    6064
    6165                if (mod != null) {
    62                         lblTitleVal.setText("<html>" + mod.getName() + "</html>");
    63                         lblCreatorVal.setText("<html>" + mod.getCreator() + "</html>");
     66                        lblTitleVal.setText(mod.getName());
     67                        lblCreatorVal.setText(mod.getCreator());
    6468                        lblDescriptionVal.setText(mod.getDescription());
    6569
     
    7074                                types += t.getName();
    7175                        }
    72                         lblTypesVal.setText("<html>" + types + "</html>");
     76                        lblTypesVal.setText(types);
    7377                        lblPlatformVal.setText(mod.getPlatform().toString());
    7478                        lblPackageNumberVal.setText(mod.getPackageNumberString());
  • java/installer2/src/net/oni2/aeinstaller/gui/packageinfobox/PackageInfoBox.yml

    r816 r849  
    33  content:
    44    - JLabel(name=lblTitle, text=lblTitle.text)
    5     - JLabel(name=lblTitleVal)
     5    - HTMLLinkLabel(name=lblTitleVal)
    66    - JLabel(name=lblCreator, text=lblCreator.text)
    7     - JLabel(name=lblCreatorVal)
     7    - HTMLLinkLabel(name=lblCreatorVal)
    88    - JLabel(name=lblTypes, text=lblTypes.text)
    9     - JLabel(name=lblTypesVal)
     9    - HTMLLinkLabel(name=lblTypesVal)
    1010    - JLabel(name=lblPlatform, text=lblPlatform.text)
    11     - JLabel(name=lblPlatformVal)
     11    - HTMLLinkLabel(name=lblPlatformVal)
    1212    - JLabel(name=lblPackageNumber, text=lblPackageNumber.text)
    13     - JLabel(name=lblPackageNumberVal)
     13    - HTMLLinkLabel(name=lblPackageNumberVal)
    1414    - JLabel(name=lblVersionNumber, text=lblVersionNumber.text)
    15     - JLabel(name=lblVersionNumberVal)
     15    - HTMLLinkLabel(name=lblVersionNumberVal)
    1616    - JScrollPane(name=scrollDescription, vScrollBar=always, hScrollBar=asNeeded):
    1717        HTMLLinkLabel(name=lblDescriptionVal)
    1818    - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
    19     - JLabel(name=lblDownloadSizeVal)
     19    - HTMLLinkLabel(name=lblDownloadSizeVal)
    2020    - MigLayout: |
    2121         [min]             [grow]
Note: See TracChangeset for help on using the changeset viewer.