| 7 |
|
import java.awt.event.ItemEvent; |
| 8 |
|
import java.awt.event.ItemListener; |
| 9 |
|
import java.io.File; |
| 10 |
– |
import java.io.IOException; |
| 10 |
|
import java.net.URL; |
| 11 |
|
import java.util.Date; |
| 12 |
|
import java.util.HashMap; |
| 92 |
|
private ModTable tblMods; |
| 93 |
|
private JLabel lblDownloadSizeVal; |
| 94 |
|
|
| 95 |
+ |
private JLabel lblTitleVal; |
| 96 |
|
private JLabel lblSubmitterVal; |
| 97 |
|
private JLabel lblCreatorVal; |
| 98 |
|
private JLabel lblTypesVal; |
| 559 |
|
|
| 560 |
|
@Override |
| 561 |
|
public void modSelectionChanged(ModTable source, Mod m) { |
| 562 |
+ |
lblTitleVal.setText(""); |
| 563 |
|
lblSubmitterVal.setText(""); |
| 564 |
|
lblCreatorVal.setText(""); |
| 565 |
|
lblDescriptionVal.setText(""); |
| 568 |
|
lblPackageNumberVal.setText(""); |
| 569 |
|
lblVersionNumberVal.setText(""); |
| 570 |
|
if (m != null) { |
| 571 |
< |
lblSubmitterVal.setText(m.getName()); |
| 571 |
> |
lblTitleVal.setText(m.getName()); |
| 572 |
> |
lblSubmitterVal.setText(m.getSubmitter()); |
| 573 |
|
lblCreatorVal.setText(m.getCreator()); |
| 574 |
|
lblDescriptionVal.setText(m.getDescription()); |
| 575 |
|
|
| 707 |
|
private void openEditionFolder() { |
| 708 |
|
try { |
| 709 |
|
Desktop.getDesktop().open(Paths.getEditionBasePath()); |
| 710 |
< |
} catch (IOException e) { |
| 710 |
> |
} catch (Exception e) { |
| 711 |
|
e.printStackTrace(); |
| 712 |
|
} |
| 713 |
|
} |