Changeset 849 for java/installer2/src/net/oni2/aeinstaller/gui
- Timestamp:
- May 2, 2013, 1:15:35 PM (12 years ago)
- 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 11 11 import javax.swing.KeyStroke; 12 12 13 import net.oni2.aeinstaller.gui.HTMLLinkLabel;14 13 import net.oni2.resourcebundle.UTF8ResourceBundleLoader; 14 import net.oni2.swingcomponents.HTMLLinkLabel; 15 15 16 16 import org.javabuilders.BuildResult; -
java/installer2/src/net/oni2/aeinstaller/gui/packageinfobox/PackageInfoBox.java
r840 r849 1 1 package net.oni2.aeinstaller.gui.packageinfobox; 2 2 3 import java.awt.Insets;4 3 import java.util.ResourceBundle; 5 4 6 import javax.swing.JLabel;7 5 import javax.swing.JPanel; 8 6 … … 10 8 import net.oni2.aeinstaller.backend.packages.Package; 11 9 import net.oni2.aeinstaller.backend.packages.Type; 12 import net.oni2.aeinstaller.gui.HTMLLinkLabel;13 10 import net.oni2.resourcebundle.UTF8ResourceBundleLoader; 11 import net.oni2.swingcomponents.HTMLLinkLabel; 14 12 15 13 import org.javabuilders.BuildResult; … … 28 26 private BuildResult result = SwingJavaBuilder.build(this, bundle); 29 27 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; 36 34 private HTMLLinkLabel lblDescriptionVal; 37 private JLabel lblDownloadSizeVal;35 private HTMLLinkLabel lblDownloadSizeVal; 38 36 39 37 /** … … 42 40 public PackageInfoBox() { 43 41 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); 45 49 } 46 50 … … 60 64 61 65 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()); 64 68 lblDescriptionVal.setText(mod.getDescription()); 65 69 … … 70 74 types += t.getName(); 71 75 } 72 lblTypesVal.setText( "<html>" + types + "</html>");76 lblTypesVal.setText(types); 73 77 lblPlatformVal.setText(mod.getPlatform().toString()); 74 78 lblPackageNumberVal.setText(mod.getPackageNumberString()); -
java/installer2/src/net/oni2/aeinstaller/gui/packageinfobox/PackageInfoBox.yml
r816 r849 3 3 content: 4 4 - JLabel(name=lblTitle, text=lblTitle.text) 5 - JLabel(name=lblTitleVal)5 - HTMLLinkLabel(name=lblTitleVal) 6 6 - JLabel(name=lblCreator, text=lblCreator.text) 7 - JLabel(name=lblCreatorVal)7 - HTMLLinkLabel(name=lblCreatorVal) 8 8 - JLabel(name=lblTypes, text=lblTypes.text) 9 - JLabel(name=lblTypesVal)9 - HTMLLinkLabel(name=lblTypesVal) 10 10 - JLabel(name=lblPlatform, text=lblPlatform.text) 11 - JLabel(name=lblPlatformVal)11 - HTMLLinkLabel(name=lblPlatformVal) 12 12 - JLabel(name=lblPackageNumber, text=lblPackageNumber.text) 13 - JLabel(name=lblPackageNumberVal)13 - HTMLLinkLabel(name=lblPackageNumberVal) 14 14 - JLabel(name=lblVersionNumber, text=lblVersionNumber.text) 15 - JLabel(name=lblVersionNumberVal)15 - HTMLLinkLabel(name=lblVersionNumberVal) 16 16 - JScrollPane(name=scrollDescription, vScrollBar=always, hScrollBar=asNeeded): 17 17 HTMLLinkLabel(name=lblDescriptionVal) 18 18 - JLabel(name=lblDownloadSize, text=lblDownloadSize.text) 19 - JLabel(name=lblDownloadSizeVal)19 - HTMLLinkLabel(name=lblDownloadSizeVal) 20 20 - MigLayout: | 21 21 [min] [grow]
Note:
See TracChangeset
for help on using the changeset viewer.