added download progress for current file and calculate speed and current progress during same download
This commit is contained in:
parent
749f8a45d2
commit
20a175b2e2
@ -43,7 +43,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.Gurkengewuerz</groupId>
|
<groupId>com.github.Gurkengewuerz</groupId>
|
||||||
<artifactId>zsyncer</artifactId>
|
<artifactId>zsyncer</artifactId>
|
||||||
<version>1de0d3f651</version>
|
<version>3d0e1072e6</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.jgoodies</groupId>
|
<groupId>com.jgoodies</groupId>
|
||||||
|
@ -706,6 +706,9 @@
|
|||||||
<rowspec value="top:4dlu:noGrow"/>
|
<rowspec value="top:4dlu:noGrow"/>
|
||||||
<rowspec value="center:max(d;4px):noGrow"/>
|
<rowspec value="center:max(d;4px):noGrow"/>
|
||||||
<rowspec value="top:4dlu:noGrow"/>
|
<rowspec value="top:4dlu:noGrow"/>
|
||||||
|
<rowspec value="top:4dlu:noGrow"/>
|
||||||
|
<rowspec value="center:max(d;4px):noGrow"/>
|
||||||
|
<rowspec value="top:4dlu:noGrow"/>
|
||||||
<rowspec value="center:max(d;4px):noGrow"/>
|
<rowspec value="center:max(d;4px):noGrow"/>
|
||||||
<rowspec value="top:4dlu:noGrow"/>
|
<rowspec value="top:4dlu:noGrow"/>
|
||||||
<rowspec value="center:max(d;4px):noGrow"/>
|
<rowspec value="center:max(d;4px):noGrow"/>
|
||||||
@ -753,7 +756,7 @@
|
|||||||
<grid id="99173" layout-manager="GridLayoutManager" row-count="1" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
<grid id="99173" layout-manager="GridLayoutManager" row-count="1" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||||
<margin top="0" left="0" bottom="0" right="0"/>
|
<margin top="0" left="0" bottom="0" right="0"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="1" column="0" row-span="8" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
<grid row="4" column="0" row-span="8" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||||
<forms/>
|
<forms/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties/>
|
<properties/>
|
||||||
@ -788,6 +791,28 @@
|
|||||||
</component>
|
</component>
|
||||||
</children>
|
</children>
|
||||||
</grid>
|
</grid>
|
||||||
|
<grid id="a5401" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||||
|
<margin top="0" left="0" bottom="0" right="0"/>
|
||||||
|
<constraints>
|
||||||
|
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||||
|
<forms/>
|
||||||
|
</constraints>
|
||||||
|
<properties/>
|
||||||
|
<border type="none"/>
|
||||||
|
<children>
|
||||||
|
<component id="1618a" class="javax.swing.JProgressBar" binding="syncDownloadFileProgress">
|
||||||
|
<constraints>
|
||||||
|
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
|
||||||
|
</constraints>
|
||||||
|
<properties>
|
||||||
|
<font size="14" style="1"/>
|
||||||
|
<string value=""/>
|
||||||
|
<stringPainted value="true"/>
|
||||||
|
<value value="0"/>
|
||||||
|
</properties>
|
||||||
|
</component>
|
||||||
|
</children>
|
||||||
|
</grid>
|
||||||
</children>
|
</children>
|
||||||
</grid>
|
</grid>
|
||||||
</children>
|
</children>
|
||||||
|
@ -191,6 +191,7 @@ public class LauncherGUI implements Observer {
|
|||||||
private JButton updateButton;
|
private JButton updateButton;
|
||||||
private JCheckBox settingsDebugBox;
|
private JCheckBox settingsDebugBox;
|
||||||
private JButton showModfolderInExplorerButton;
|
private JButton showModfolderInExplorerButton;
|
||||||
|
public JProgressBar syncDownloadFileProgress;
|
||||||
|
|
||||||
private static final Logger logger = LogManager.getLogger(LauncherGUI.class);
|
private static final Logger logger = LogManager.getLogger(LauncherGUI.class);
|
||||||
|
|
||||||
@ -1748,7 +1749,7 @@ public class LauncherGUI implements Observer {
|
|||||||
this.$$$loadLabelText$$$(label16, this.$$$getMessageFromBundle$$$("lang", "download"));
|
this.$$$loadLabelText$$$(label16, this.$$$getMessageFromBundle$$$("lang", "download"));
|
||||||
panel17.add(label16, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel17.add(label16, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel18 = new JPanel();
|
final JPanel panel18 = new JPanel();
|
||||||
panel18.setLayout(new FormLayout("fill:d:grow", "center:d:grow,top:4dlu:noGrow,center:max(d;4px):noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow"));
|
panel18.setLayout(new FormLayout("fill:d:grow", "center:d:grow,top:4dlu:noGrow,center:max(d;4px):noGrow,top:4dlu:noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow"));
|
||||||
panel16.add(panel18, BorderLayout.CENTER);
|
panel16.add(panel18, BorderLayout.CENTER);
|
||||||
final JPanel panel19 = new JPanel();
|
final JPanel panel19 = new JPanel();
|
||||||
panel19.setLayout(new FormLayout("fill:d:grow", "center:d:noGrow"));
|
panel19.setLayout(new FormLayout("fill:d:grow", "center:d:noGrow"));
|
||||||
@ -1765,7 +1766,7 @@ public class LauncherGUI implements Observer {
|
|||||||
panel20.add(syncDownloadProgress, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel20.add(syncDownloadProgress, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel21 = new JPanel();
|
final JPanel panel21 = new JPanel();
|
||||||
panel21.setLayout(new GridLayoutManager(1, 3, new Insets(0, 0, 0, 0), -1, -1));
|
panel21.setLayout(new GridLayoutManager(1, 3, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
panel18.add(panel21, cc.xywh(1, 2, 1, 8));
|
panel18.add(panel21, cc.xywh(1, 5, 1, 8));
|
||||||
syncDownloadButton = new JButton();
|
syncDownloadButton = new JButton();
|
||||||
syncDownloadButton.setEnabled(false);
|
syncDownloadButton.setEnabled(false);
|
||||||
this.$$$loadButtonText$$$(syncDownloadButton, this.$$$getMessageFromBundle$$$("lang", "download"));
|
this.$$$loadButtonText$$$(syncDownloadButton, this.$$$getMessageFromBundle$$$("lang", "download"));
|
||||||
@ -1778,48 +1779,58 @@ public class LauncherGUI implements Observer {
|
|||||||
syncPauseButton.setEnabled(false);
|
syncPauseButton.setEnabled(false);
|
||||||
this.$$$loadButtonText$$$(syncPauseButton, this.$$$getMessageFromBundle$$$("lang", "pause"));
|
this.$$$loadButtonText$$$(syncPauseButton, this.$$$getMessageFromBundle$$$("lang", "pause"));
|
||||||
panel21.add(syncPauseButton, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel21.add(syncPauseButton, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
|
final JPanel panel22 = new JPanel();
|
||||||
|
panel22.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
|
panel18.add(panel22, cc.xy(1, 3));
|
||||||
|
syncDownloadFileProgress = new JProgressBar();
|
||||||
|
Font syncDownloadFileProgressFont = this.$$$getFont$$$(null, Font.BOLD, 14, syncDownloadFileProgress.getFont());
|
||||||
|
if (syncDownloadFileProgressFont != null) syncDownloadFileProgress.setFont(syncDownloadFileProgressFont);
|
||||||
|
syncDownloadFileProgress.setString("");
|
||||||
|
syncDownloadFileProgress.setStringPainted(true);
|
||||||
|
syncDownloadFileProgress.setValue(0);
|
||||||
|
panel22.add(syncDownloadFileProgress, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
syncStatusLabel = new JLabel();
|
syncStatusLabel = new JLabel();
|
||||||
syncStatusLabel.setText("");
|
syncStatusLabel.setText("");
|
||||||
updateTab.add(syncStatusLabel, new GridConstraints(1, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
updateTab.add(syncStatusLabel, new GridConstraints(1, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel22 = new JPanel();
|
|
||||||
panel22.setLayout(new GridLayoutManager(1, 1, new Insets(10, 0, 0, 5), -1, -1));
|
|
||||||
updateTab.add(panel22, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
|
||||||
final JPanel panel23 = new JPanel();
|
final JPanel panel23 = new JPanel();
|
||||||
panel23.setLayout(new BorderLayout(0, 0));
|
panel23.setLayout(new GridLayoutManager(1, 1, new Insets(10, 0, 0, 5), -1, -1));
|
||||||
panel22.add(panel23, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
updateTab.add(panel23, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JPanel panel24 = new JPanel();
|
final JPanel panel24 = new JPanel();
|
||||||
panel24.setLayout(new GridLayoutManager(1, 1, new Insets(2, 5, 3, 0), -1, -1));
|
panel24.setLayout(new BorderLayout(0, 0));
|
||||||
panel24.setBackground(new Color(-14736860));
|
panel23.add(panel24, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
panel24.setEnabled(false);
|
final JPanel panel25 = new JPanel();
|
||||||
panel23.add(panel24, BorderLayout.NORTH);
|
panel25.setLayout(new GridLayoutManager(1, 1, new Insets(2, 5, 3, 0), -1, -1));
|
||||||
|
panel25.setBackground(new Color(-14736860));
|
||||||
|
panel25.setEnabled(false);
|
||||||
|
panel24.add(panel25, BorderLayout.NORTH);
|
||||||
final JLabel label17 = new JLabel();
|
final JLabel label17 = new JLabel();
|
||||||
Font label17Font = this.$$$getFont$$$(null, Font.BOLD, 16, label17.getFont());
|
Font label17Font = this.$$$getFont$$$(null, Font.BOLD, 16, label17.getFont());
|
||||||
if (label17Font != null) label17.setFont(label17Font);
|
if (label17Font != null) label17.setFont(label17Font);
|
||||||
this.$$$loadLabelText$$$(label17, this.$$$getMessageFromBundle$$$("lang", "repository_content"));
|
this.$$$loadLabelText$$$(label17, this.$$$getMessageFromBundle$$$("lang", "repository_content"));
|
||||||
panel24.add(label17, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel25.add(label17, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel25 = new JPanel();
|
final JPanel panel26 = new JPanel();
|
||||||
panel25.setLayout(new GridLayoutManager(3, 2, new Insets(0, 0, 0, 0), -1, -1));
|
panel26.setLayout(new GridLayoutManager(3, 2, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
panel23.add(panel25, BorderLayout.SOUTH);
|
panel24.add(panel26, BorderLayout.SOUTH);
|
||||||
expandAllButton = new JButton();
|
expandAllButton = new JButton();
|
||||||
expandAllButton.setEnabled(false);
|
expandAllButton.setEnabled(false);
|
||||||
this.$$$loadButtonText$$$(expandAllButton, this.$$$getMessageFromBundle$$$("lang", "expand_all"));
|
this.$$$loadButtonText$$$(expandAllButton, this.$$$getMessageFromBundle$$$("lang", "expand_all"));
|
||||||
panel25.add(expandAllButton, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel26.add(expandAllButton, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
syncPresetCombo = new JComboBox();
|
syncPresetCombo = new JComboBox();
|
||||||
panel25.add(syncPresetCombo, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel26.add(syncPresetCombo, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label18 = new JLabel();
|
final JLabel label18 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label18, this.$$$getMessageFromBundle$$$("lang", "preset"));
|
this.$$$loadLabelText$$$(label18, this.$$$getMessageFromBundle$$$("lang", "preset"));
|
||||||
panel25.add(label18, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel26.add(label18, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
refreshRepoButton = new JButton();
|
refreshRepoButton = new JButton();
|
||||||
refreshRepoButton.setEnabled(false);
|
refreshRepoButton.setEnabled(false);
|
||||||
this.$$$loadButtonText$$$(refreshRepoButton, this.$$$getMessageFromBundle$$$("lang", "update_repository"));
|
this.$$$loadButtonText$$$(refreshRepoButton, this.$$$getMessageFromBundle$$$("lang", "update_repository"));
|
||||||
refreshRepoButton.setVisible(true);
|
refreshRepoButton.setVisible(true);
|
||||||
panel25.add(refreshRepoButton, new GridConstraints(2, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel26.add(refreshRepoButton, new GridConstraints(2, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
collapseAllButton = new JButton();
|
collapseAllButton = new JButton();
|
||||||
collapseAllButton.setEnabled(false);
|
collapseAllButton.setEnabled(false);
|
||||||
this.$$$loadButtonText$$$(collapseAllButton, this.$$$getMessageFromBundle$$$("lang", "collapse_all"));
|
this.$$$loadButtonText$$$(collapseAllButton, this.$$$getMessageFromBundle$$$("lang", "collapse_all"));
|
||||||
panel25.add(collapseAllButton, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel26.add(collapseAllButton, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
updateTreeScrolPane = new JScrollPane();
|
updateTreeScrolPane = new JScrollPane();
|
||||||
panel23.add(updateTreeScrolPane, BorderLayout.CENTER);
|
panel24.add(updateTreeScrolPane, BorderLayout.CENTER);
|
||||||
updateTreePanel = new JPanel();
|
updateTreePanel = new JPanel();
|
||||||
updateTreePanel.setLayout(new BorderLayout(0, 0));
|
updateTreePanel.setLayout(new BorderLayout(0, 0));
|
||||||
updateTreeScrolPane.setViewportView(updateTreePanel);
|
updateTreeScrolPane.setViewportView(updateTreePanel);
|
||||||
@ -1852,33 +1863,33 @@ public class LauncherGUI implements Observer {
|
|||||||
splitPane1.setDoubleBuffered(false);
|
splitPane1.setDoubleBuffered(false);
|
||||||
splitPane1.setEnabled(false);
|
splitPane1.setEnabled(false);
|
||||||
presetsTab.add(splitPane1, BorderLayout.CENTER);
|
presetsTab.add(splitPane1, BorderLayout.CENTER);
|
||||||
final JPanel panel26 = new JPanel();
|
|
||||||
panel26.setLayout(new BorderLayout(0, 0));
|
|
||||||
splitPane1.setRightComponent(panel26);
|
|
||||||
final JPanel panel27 = new JPanel();
|
final JPanel panel27 = new JPanel();
|
||||||
panel27.setLayout(new GridLayoutManager(1, 2, new Insets(0, 0, 5, 5), -1, -1));
|
panel27.setLayout(new BorderLayout(0, 0));
|
||||||
panel26.add(panel27, BorderLayout.SOUTH);
|
splitPane1.setRightComponent(panel27);
|
||||||
|
final JPanel panel28 = new JPanel();
|
||||||
|
panel28.setLayout(new GridLayoutManager(1, 2, new Insets(0, 0, 5, 5), -1, -1));
|
||||||
|
panel27.add(panel28, BorderLayout.SOUTH);
|
||||||
final Spacer spacer4 = new Spacer();
|
final Spacer spacer4 = new Spacer();
|
||||||
panel27.add(spacer4, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));
|
panel28.add(spacer4, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));
|
||||||
playPresetButton = new JButton();
|
playPresetButton = new JButton();
|
||||||
playPresetButton.setEnabled(false);
|
playPresetButton.setEnabled(false);
|
||||||
this.$$$loadButtonText$$$(playPresetButton, this.$$$getMessageFromBundle$$$("lang", "play"));
|
this.$$$loadButtonText$$$(playPresetButton, this.$$$getMessageFromBundle$$$("lang", "play"));
|
||||||
panel27.add(playPresetButton, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel28.add(playPresetButton, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel28 = new JPanel();
|
final JPanel panel29 = new JPanel();
|
||||||
panel28.setLayout(new GridLayoutManager(2, 1, new Insets(10, 0, 5, 5), -1, -1));
|
panel29.setLayout(new GridLayoutManager(2, 1, new Insets(10, 0, 5, 5), -1, -1));
|
||||||
panel26.add(panel28, BorderLayout.CENTER);
|
panel27.add(panel29, BorderLayout.CENTER);
|
||||||
final JScrollPane scrollPane2 = new JScrollPane();
|
final JScrollPane scrollPane2 = new JScrollPane();
|
||||||
scrollPane2.setHorizontalScrollBarPolicy(31);
|
scrollPane2.setHorizontalScrollBarPolicy(31);
|
||||||
scrollPane2.setVerticalScrollBarPolicy(20);
|
scrollPane2.setVerticalScrollBarPolicy(20);
|
||||||
panel28.add(scrollPane2, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
panel29.add(scrollPane2, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
||||||
scrollPane2.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEmptyBorder(), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
|
scrollPane2.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEmptyBorder(), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
|
||||||
final JPanel panel29 = new JPanel();
|
final JPanel panel30 = new JPanel();
|
||||||
panel29.setLayout(new GridLayoutManager(1, 1, new Insets(100, 70, 100, 70), -1, -1));
|
panel30.setLayout(new GridLayoutManager(1, 1, new Insets(100, 70, 100, 70), -1, -1));
|
||||||
scrollPane2.setViewportView(panel29);
|
scrollPane2.setViewportView(panel30);
|
||||||
presetNotePane = new JPanel();
|
presetNotePane = new JPanel();
|
||||||
presetNotePane.setLayout(new FormLayout("fill:d:grow", "center:d:noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow"));
|
presetNotePane.setLayout(new FormLayout("fill:d:grow", "center:d:noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow,top:4dlu:noGrow,center:max(d;4px):noGrow"));
|
||||||
presetNotePane.setVisible(false);
|
presetNotePane.setVisible(false);
|
||||||
panel29.add(presetNotePane, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
panel30.add(presetNotePane, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JLabel label19 = new JLabel();
|
final JLabel label19 = new JLabel();
|
||||||
Font label19Font = this.$$$getFont$$$(null, Font.BOLD, 14, label19.getFont());
|
Font label19Font = this.$$$getFont$$$(null, Font.BOLD, 14, label19.getFont());
|
||||||
if (label19Font != null) label19.setFont(label19Font);
|
if (label19Font != null) label19.setFont(label19Font);
|
||||||
@ -1898,287 +1909,287 @@ public class LauncherGUI implements Observer {
|
|||||||
Font label20Font = this.$$$getFont$$$(null, Font.BOLD, 16, label20.getFont());
|
Font label20Font = this.$$$getFont$$$(null, Font.BOLD, 16, label20.getFont());
|
||||||
if (label20Font != null) label20.setFont(label20Font);
|
if (label20Font != null) label20.setFont(label20Font);
|
||||||
this.$$$loadLabelText$$$(label20, this.$$$getMessageFromBundle$$$("lang", "preset_settings"));
|
this.$$$loadLabelText$$$(label20, this.$$$getMessageFromBundle$$$("lang", "preset_settings"));
|
||||||
panel28.add(label20, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel29.add(label20, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel30 = new JPanel();
|
|
||||||
panel30.setLayout(new BorderLayout(0, 0));
|
|
||||||
splitPane1.setLeftComponent(panel30);
|
|
||||||
final JPanel panel31 = new JPanel();
|
final JPanel panel31 = new JPanel();
|
||||||
panel31.setLayout(new GridLayoutManager(2, 2, new Insets(0, 5, 5, 0), -1, -1));
|
panel31.setLayout(new BorderLayout(0, 0));
|
||||||
panel30.add(panel31, BorderLayout.SOUTH);
|
splitPane1.setLeftComponent(panel31);
|
||||||
|
final JPanel panel32 = new JPanel();
|
||||||
|
panel32.setLayout(new GridLayoutManager(2, 2, new Insets(0, 5, 5, 0), -1, -1));
|
||||||
|
panel31.add(panel32, BorderLayout.SOUTH);
|
||||||
clonePresetButton = new JButton();
|
clonePresetButton = new JButton();
|
||||||
clonePresetButton.setEnabled(false);
|
clonePresetButton.setEnabled(false);
|
||||||
this.$$$loadButtonText$$$(clonePresetButton, this.$$$getMessageFromBundle$$$("lang", "clone"));
|
this.$$$loadButtonText$$$(clonePresetButton, this.$$$getMessageFromBundle$$$("lang", "clone"));
|
||||||
panel31.add(clonePresetButton, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel32.add(clonePresetButton, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
newPresetButtom = new JButton();
|
newPresetButtom = new JButton();
|
||||||
this.$$$loadButtonText$$$(newPresetButtom, this.$$$getMessageFromBundle$$$("lang", "new"));
|
this.$$$loadButtonText$$$(newPresetButtom, this.$$$getMessageFromBundle$$$("lang", "new"));
|
||||||
panel31.add(newPresetButtom, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel32.add(newPresetButtom, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
removePresetButtom = new JButton();
|
removePresetButtom = new JButton();
|
||||||
removePresetButtom.setEnabled(false);
|
removePresetButtom.setEnabled(false);
|
||||||
this.$$$loadButtonText$$$(removePresetButtom, this.$$$getMessageFromBundle$$$("lang", "remove"));
|
this.$$$loadButtonText$$$(removePresetButtom, this.$$$getMessageFromBundle$$$("lang", "remove"));
|
||||||
panel31.add(removePresetButtom, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel32.add(removePresetButtom, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
renamePresetButton = new JButton();
|
renamePresetButton = new JButton();
|
||||||
renamePresetButton.setEnabled(false);
|
renamePresetButton.setEnabled(false);
|
||||||
this.$$$loadButtonText$$$(renamePresetButton, this.$$$getMessageFromBundle$$$("lang", "rename"));
|
this.$$$loadButtonText$$$(renamePresetButton, this.$$$getMessageFromBundle$$$("lang", "rename"));
|
||||||
panel31.add(renamePresetButton, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel32.add(renamePresetButton, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel32 = new JPanel();
|
|
||||||
panel32.setLayout(new GridLayoutManager(1, 1, new Insets(0, 5, 15, 0), -1, -1));
|
|
||||||
panel30.add(panel32, BorderLayout.CENTER);
|
|
||||||
final JPanel panel33 = new JPanel();
|
final JPanel panel33 = new JPanel();
|
||||||
panel33.setLayout(new GridLayoutManager(2, 3, new Insets(10, 0, 5, 0), -1, -1));
|
panel33.setLayout(new GridLayoutManager(1, 1, new Insets(0, 5, 15, 0), -1, -1));
|
||||||
panel32.add(panel33, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
panel31.add(panel33, BorderLayout.CENTER);
|
||||||
|
final JPanel panel34 = new JPanel();
|
||||||
|
panel34.setLayout(new GridLayoutManager(2, 3, new Insets(10, 0, 5, 0), -1, -1));
|
||||||
|
panel33.add(panel34, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
presetList = new JList();
|
presetList = new JList();
|
||||||
presetList.setSelectionMode(1);
|
presetList.setSelectionMode(1);
|
||||||
panel33.add(presetList, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_WANT_GROW, null, new Dimension(150, 50), null, 0, false));
|
panel34.add(presetList, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_WANT_GROW, null, new Dimension(150, 50), null, 0, false));
|
||||||
modList = new JList();
|
modList = new JList();
|
||||||
panel33.add(modList, new GridConstraints(1, 2, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_WANT_GROW, null, new Dimension(150, 50), null, 0, false));
|
panel34.add(modList, new GridConstraints(1, 2, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_WANT_GROW, null, new Dimension(150, 50), null, 0, false));
|
||||||
final JLabel label21 = new JLabel();
|
final JLabel label21 = new JLabel();
|
||||||
Font label21Font = this.$$$getFont$$$(null, Font.BOLD, 16, label21.getFont());
|
Font label21Font = this.$$$getFont$$$(null, Font.BOLD, 16, label21.getFont());
|
||||||
if (label21Font != null) label21.setFont(label21Font);
|
if (label21Font != null) label21.setFont(label21Font);
|
||||||
this.$$$loadLabelText$$$(label21, this.$$$getMessageFromBundle$$$("lang", "presets"));
|
this.$$$loadLabelText$$$(label21, this.$$$getMessageFromBundle$$$("lang", "presets"));
|
||||||
panel33.add(label21, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel34.add(label21, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label22 = new JLabel();
|
final JLabel label22 = new JLabel();
|
||||||
Font label22Font = this.$$$getFont$$$(null, Font.BOLD, 16, label22.getFont());
|
Font label22Font = this.$$$getFont$$$(null, Font.BOLD, 16, label22.getFont());
|
||||||
if (label22Font != null) label22.setFont(label22Font);
|
if (label22Font != null) label22.setFont(label22Font);
|
||||||
this.$$$loadLabelText$$$(label22, this.$$$getMessageFromBundle$$$("lang", "select_mods"));
|
this.$$$loadLabelText$$$(label22, this.$$$getMessageFromBundle$$$("lang", "select_mods"));
|
||||||
panel33.add(label22, new GridConstraints(0, 2, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel34.add(label22, new GridConstraints(0, 2, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final Spacer spacer5 = new Spacer();
|
final Spacer spacer5 = new Spacer();
|
||||||
panel33.add(spacer5, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));
|
panel34.add(spacer5, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));
|
||||||
settingsTab = new JPanel();
|
settingsTab = new JPanel();
|
||||||
settingsTab.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
|
settingsTab.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
tabbedPane1.addTab("Settings", settingsTab);
|
tabbedPane1.addTab("Settings", settingsTab);
|
||||||
final JPanel panel34 = new JPanel();
|
final JPanel panel35 = new JPanel();
|
||||||
panel34.setLayout(new GridLayoutManager(1, 1, new Insets(10, 0, 0, 0), -1, -1));
|
panel35.setLayout(new GridLayoutManager(1, 1, new Insets(10, 0, 0, 0), -1, -1));
|
||||||
panel34.setOpaque(false);
|
panel35.setOpaque(false);
|
||||||
settingsTab.add(panel34, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
settingsTab.add(panel35, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
panel34.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEmptyBorder(), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
|
panel35.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEmptyBorder(), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
|
||||||
settingScrollPane = new JScrollPane();
|
settingScrollPane = new JScrollPane();
|
||||||
settingScrollPane.setOpaque(false);
|
settingScrollPane.setOpaque(false);
|
||||||
panel34.add(settingScrollPane, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
panel35.add(settingScrollPane, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
||||||
settingScrollPane.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEmptyBorder(), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
|
settingScrollPane.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEmptyBorder(), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
|
||||||
final JPanel panel35 = new JPanel();
|
final JPanel panel36 = new JPanel();
|
||||||
panel35.setLayout(new GridLayoutManager(40, 5, new Insets(0, 0, 0, 5), -1, -1));
|
panel36.setLayout(new GridLayoutManager(40, 5, new Insets(0, 0, 0, 5), -1, -1));
|
||||||
panel35.setOpaque(false);
|
panel36.setOpaque(false);
|
||||||
settingScrollPane.setViewportView(panel35);
|
settingScrollPane.setViewportView(panel36);
|
||||||
final JLabel label23 = new JLabel();
|
final JLabel label23 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label23, this.$$$getMessageFromBundle$$$("lang", "arma3_installpath"));
|
this.$$$loadLabelText$$$(label23, this.$$$getMessageFromBundle$$$("lang", "arma3_installpath"));
|
||||||
panel35.add(label23, new GridConstraints(1, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label23, new GridConstraints(1, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsArmaPathText = new JTextField();
|
settingsArmaPathText = new JTextField();
|
||||||
settingsArmaPathText.setEditable(false);
|
settingsArmaPathText.setEditable(false);
|
||||||
panel35.add(settingsArmaPathText, new GridConstraints(1, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
panel36.add(settingsArmaPathText, new GridConstraints(1, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||||
final JLabel label24 = new JLabel();
|
final JLabel label24 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label24, this.$$$getMessageFromBundle$$$("lang", "modset_folder"));
|
this.$$$loadLabelText$$$(label24, this.$$$getMessageFromBundle$$$("lang", "modset_folder"));
|
||||||
panel35.add(label24, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label24, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label25 = new JLabel();
|
final JLabel label25 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label25, this.$$$getMessageFromBundle$$$("lang", "show_startparameter"));
|
this.$$$loadLabelText$$$(label25, this.$$$getMessageFromBundle$$$("lang", "show_startparameter"));
|
||||||
panel35.add(label25, new GridConstraints(3, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label25, new GridConstraints(3, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label26 = new JLabel();
|
final JLabel label26 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label26, this.$$$getMessageFromBundle$$$("lang", "check_modset"));
|
this.$$$loadLabelText$$$(label26, this.$$$getMessageFromBundle$$$("lang", "check_modset"));
|
||||||
panel35.add(label26, new GridConstraints(4, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label26, new GridConstraints(4, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label27 = new JLabel();
|
final JLabel label27 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label27, this.$$$getMessageFromBundle$$$("lang", "behaviour_aafter_start"));
|
this.$$$loadLabelText$$$(label27, this.$$$getMessageFromBundle$$$("lang", "behaviour_aafter_start"));
|
||||||
panel35.add(label27, new GridConstraints(6, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label27, new GridConstraints(6, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsCheckModsBox = new JCheckBox();
|
settingsCheckModsBox = new JCheckBox();
|
||||||
settingsCheckModsBox.setText("");
|
settingsCheckModsBox.setText("");
|
||||||
panel35.add(settingsCheckModsBox, new GridConstraints(4, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsCheckModsBox, new GridConstraints(4, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsShowParameterBox = new JCheckBox();
|
settingsShowParameterBox = new JCheckBox();
|
||||||
settingsShowParameterBox.setText("");
|
settingsShowParameterBox.setText("");
|
||||||
panel35.add(settingsShowParameterBox, new GridConstraints(3, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsShowParameterBox, new GridConstraints(3, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsArmaPathBtn = new JButton();
|
settingsArmaPathBtn = new JButton();
|
||||||
settingsArmaPathBtn.setText("...");
|
settingsArmaPathBtn.setText("...");
|
||||||
panel35.add(settingsArmaPathBtn, new GridConstraints(1, 4, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsArmaPathBtn, new GridConstraints(1, 4, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsModsPathText = new JTextField();
|
settingsModsPathText = new JTextField();
|
||||||
settingsModsPathText.setEditable(false);
|
settingsModsPathText.setEditable(false);
|
||||||
panel35.add(settingsModsPathText, new GridConstraints(2, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
panel36.add(settingsModsPathText, new GridConstraints(2, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||||
settingsModsPathBtn = new JButton();
|
settingsModsPathBtn = new JButton();
|
||||||
settingsModsPathBtn.setText("...");
|
settingsModsPathBtn.setText("...");
|
||||||
panel35.add(settingsModsPathBtn, new GridConstraints(2, 4, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsModsPathBtn, new GridConstraints(2, 4, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsBehaviorStartCombo = new JComboBox();
|
settingsBehaviorStartCombo = new JComboBox();
|
||||||
final DefaultComboBoxModel defaultComboBoxModel1 = new DefaultComboBoxModel();
|
final DefaultComboBoxModel defaultComboBoxModel1 = new DefaultComboBoxModel();
|
||||||
defaultComboBoxModel1.addElement("Nothing");
|
defaultComboBoxModel1.addElement("Nothing");
|
||||||
defaultComboBoxModel1.addElement("Minimize");
|
defaultComboBoxModel1.addElement("Minimize");
|
||||||
defaultComboBoxModel1.addElement("Exit");
|
defaultComboBoxModel1.addElement("Exit");
|
||||||
settingsBehaviorStartCombo.setModel(defaultComboBoxModel1);
|
settingsBehaviorStartCombo.setModel(defaultComboBoxModel1);
|
||||||
panel35.add(settingsBehaviorStartCombo, new GridConstraints(6, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsBehaviorStartCombo, new GridConstraints(6, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label28 = new JLabel();
|
final JLabel label28 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label28, this.$$$getMessageFromBundle$$$("lang", "backend_url"));
|
this.$$$loadLabelText$$$(label28, this.$$$getMessageFromBundle$$$("lang", "backend_url"));
|
||||||
panel35.add(label28, new GridConstraints(8, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label28, new GridConstraints(8, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsBackendText = new JTextField();
|
settingsBackendText = new JTextField();
|
||||||
settingsBackendText.setEditable(false);
|
settingsBackendText.setEditable(false);
|
||||||
settingsBackendText.setEnabled(true);
|
settingsBackendText.setEnabled(true);
|
||||||
Font settingsBackendTextFont = this.$$$getFont$$$(null, Font.ITALIC, -1, settingsBackendText.getFont());
|
Font settingsBackendTextFont = this.$$$getFont$$$(null, Font.ITALIC, -1, settingsBackendText.getFont());
|
||||||
if (settingsBackendTextFont != null) settingsBackendText.setFont(settingsBackendTextFont);
|
if (settingsBackendTextFont != null) settingsBackendText.setFont(settingsBackendTextFont);
|
||||||
panel35.add(settingsBackendText, new GridConstraints(8, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
panel36.add(settingsBackendText, new GridConstraints(8, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||||
final JPanel panel36 = new JPanel();
|
|
||||||
panel36.setLayout(new GridLayoutManager(1, 1, new Insets(2, 5, 3, 0), -1, -1));
|
|
||||||
panel36.setBackground(new Color(-14736860));
|
|
||||||
panel36.setEnabled(false);
|
|
||||||
panel35.add(panel36, new GridConstraints(0, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
|
||||||
final JLabel label29 = new JLabel();
|
|
||||||
Font label29Font = this.$$$getFont$$$(null, Font.BOLD, 16, label29.getFont());
|
|
||||||
if (label29Font != null) label29.setFont(label29Font);
|
|
||||||
this.$$$loadLabelText$$$(label29, this.$$$getMessageFromBundle$$$("lang", "client_settings"));
|
|
||||||
panel36.add(label29, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
final JPanel panel37 = new JPanel();
|
final JPanel panel37 = new JPanel();
|
||||||
panel37.setLayout(new GridLayoutManager(1, 1, new Insets(2, 5, 3, 0), -1, -1));
|
panel37.setLayout(new GridLayoutManager(1, 1, new Insets(2, 5, 3, 0), -1, -1));
|
||||||
panel37.setBackground(new Color(-14736860));
|
panel37.setBackground(new Color(-14736860));
|
||||||
panel37.setEnabled(false);
|
panel37.setEnabled(false);
|
||||||
panel35.add(panel37, new GridConstraints(11, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
panel36.add(panel37, new GridConstraints(0, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
|
final JLabel label29 = new JLabel();
|
||||||
|
Font label29Font = this.$$$getFont$$$(null, Font.BOLD, 16, label29.getFont());
|
||||||
|
if (label29Font != null) label29.setFont(label29Font);
|
||||||
|
this.$$$loadLabelText$$$(label29, this.$$$getMessageFromBundle$$$("lang", "client_settings"));
|
||||||
|
panel37.add(label29, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
|
final JPanel panel38 = new JPanel();
|
||||||
|
panel38.setLayout(new GridLayoutManager(1, 1, new Insets(2, 5, 3, 0), -1, -1));
|
||||||
|
panel38.setBackground(new Color(-14736860));
|
||||||
|
panel38.setEnabled(false);
|
||||||
|
panel36.add(panel38, new GridConstraints(11, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JLabel label30 = new JLabel();
|
final JLabel label30 = new JLabel();
|
||||||
Font label30Font = this.$$$getFont$$$(null, Font.BOLD, 16, label30.getFont());
|
Font label30Font = this.$$$getFont$$$(null, Font.BOLD, 16, label30.getFont());
|
||||||
if (label30Font != null) label30.setFont(label30Font);
|
if (label30Font != null) label30.setFont(label30Font);
|
||||||
this.$$$loadLabelText$$$(label30, this.$$$getMessageFromBundle$$$("lang", "arm33_parameter"));
|
this.$$$loadLabelText$$$(label30, this.$$$getMessageFromBundle$$$("lang", "arm33_parameter"));
|
||||||
panel37.add(label30, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel38.add(label30, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel38 = new JPanel();
|
final JPanel panel39 = new JPanel();
|
||||||
panel38.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 25, 0), -1, -1));
|
panel39.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 25, 0), -1, -1));
|
||||||
panel35.add(panel38, new GridConstraints(10, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
panel36.add(panel39, new GridConstraints(10, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JLabel label31 = new JLabel();
|
final JLabel label31 = new JLabel();
|
||||||
label31.setText("Profile");
|
label31.setText("Profile");
|
||||||
label31.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "profile_desc"));
|
label31.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "profile_desc"));
|
||||||
panel35.add(label31, new GridConstraints(12, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label31, new GridConstraints(12, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsProfileCombo = new JComboBox();
|
settingsProfileCombo = new JComboBox();
|
||||||
panel35.add(settingsProfileCombo, new GridConstraints(12, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsProfileCombo, new GridConstraints(12, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label32 = new JLabel();
|
final JLabel label32 = new JLabel();
|
||||||
label32.setText("Use64BitClient");
|
label32.setText("Use64BitClient");
|
||||||
label32.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "use64bitclient_desc"));
|
label32.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "use64bitclient_desc"));
|
||||||
panel35.add(label32, new GridConstraints(13, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label32, new GridConstraints(13, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label33 = new JLabel();
|
final JLabel label33 = new JLabel();
|
||||||
label33.setText("NoSplash");
|
label33.setText("NoSplash");
|
||||||
label33.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "nosplash_desc"));
|
label33.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "nosplash_desc"));
|
||||||
panel35.add(label33, new GridConstraints(15, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label33, new GridConstraints(15, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label34 = new JLabel();
|
final JLabel label34 = new JLabel();
|
||||||
label34.setText("SkipIntro");
|
label34.setText("SkipIntro");
|
||||||
label34.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "skipintro_desc"));
|
label34.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "skipintro_desc"));
|
||||||
panel35.add(label34, new GridConstraints(16, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label34, new GridConstraints(16, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label35 = new JLabel();
|
final JLabel label35 = new JLabel();
|
||||||
label35.setText("World");
|
label35.setText("World");
|
||||||
label35.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "world_desc"));
|
label35.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "world_desc"));
|
||||||
panel35.add(label35, new GridConstraints(17, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label35, new GridConstraints(17, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsWorldText = new JTextField();
|
settingsWorldText = new JTextField();
|
||||||
panel35.add(settingsWorldText, new GridConstraints(17, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
panel36.add(settingsWorldText, new GridConstraints(17, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||||
final JLabel label36 = new JLabel();
|
final JLabel label36 = new JLabel();
|
||||||
label36.setText("MaxMem");
|
label36.setText("MaxMem");
|
||||||
label36.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "maxmem_desc"));
|
label36.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "maxmem_desc"));
|
||||||
panel35.add(label36, new GridConstraints(19, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label36, new GridConstraints(19, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label37 = new JLabel();
|
final JLabel label37 = new JLabel();
|
||||||
label37.setText("MaxVRAM");
|
label37.setText("MaxVRAM");
|
||||||
label37.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "maxvram_desc"));
|
label37.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "maxvram_desc"));
|
||||||
panel35.add(label37, new GridConstraints(20, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label37, new GridConstraints(20, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label38 = new JLabel();
|
final JLabel label38 = new JLabel();
|
||||||
label38.setText("NoCB");
|
label38.setText("NoCB");
|
||||||
label38.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "nocb_desc"));
|
label38.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "nocb_desc"));
|
||||||
label38.setVerifyInputWhenFocusTarget(false);
|
label38.setVerifyInputWhenFocusTarget(false);
|
||||||
panel35.add(label38, new GridConstraints(21, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label38, new GridConstraints(21, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label39 = new JLabel();
|
final JLabel label39 = new JLabel();
|
||||||
label39.setText("CpuCount");
|
label39.setText("CpuCount");
|
||||||
label39.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "cpucount_desc"));
|
label39.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "cpucount_desc"));
|
||||||
panel35.add(label39, new GridConstraints(22, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label39, new GridConstraints(22, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label40 = new JLabel();
|
final JLabel label40 = new JLabel();
|
||||||
label40.setText("ExThreads");
|
label40.setText("ExThreads");
|
||||||
label40.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "exthreads_desc"));
|
label40.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "exthreads_desc"));
|
||||||
panel35.add(label40, new GridConstraints(23, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label40, new GridConstraints(23, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label41 = new JLabel();
|
final JLabel label41 = new JLabel();
|
||||||
label41.setText("Malloc");
|
label41.setText("Malloc");
|
||||||
label41.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "malloc_desc"));
|
label41.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "malloc_desc"));
|
||||||
panel35.add(label41, new GridConstraints(24, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label41, new GridConstraints(24, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label42 = new JLabel();
|
final JLabel label42 = new JLabel();
|
||||||
label42.setText("NoLogs");
|
label42.setText("NoLogs");
|
||||||
label42.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "nologs_desc"));
|
label42.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "nologs_desc"));
|
||||||
panel35.add(label42, new GridConstraints(25, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label42, new GridConstraints(25, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label43 = new JLabel();
|
final JLabel label43 = new JLabel();
|
||||||
label43.setText("EnableHT");
|
label43.setText("EnableHT");
|
||||||
label43.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "enableht_desc"));
|
label43.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "enableht_desc"));
|
||||||
panel35.add(label43, new GridConstraints(26, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label43, new GridConstraints(26, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label44 = new JLabel();
|
final JLabel label44 = new JLabel();
|
||||||
label44.setText("Hugepages");
|
label44.setText("Hugepages");
|
||||||
label44.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "hugepages_desc"));
|
label44.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "hugepages_desc"));
|
||||||
panel35.add(label44, new GridConstraints(27, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label44, new GridConstraints(27, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel39 = new JPanel();
|
|
||||||
panel39.setLayout(new GridLayoutManager(1, 1, new Insets(5, 0, 5, 0), -1, -1));
|
|
||||||
panel35.add(panel39, new GridConstraints(18, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
|
||||||
final JPanel panel40 = new JPanel();
|
final JPanel panel40 = new JPanel();
|
||||||
panel40.setLayout(new GridLayoutManager(1, 1, new Insets(2, 6, 5, 0), -1, -1));
|
panel40.setLayout(new GridLayoutManager(1, 1, new Insets(5, 0, 5, 0), -1, -1));
|
||||||
panel40.setBackground(new Color(-14210516));
|
panel36.add(panel40, new GridConstraints(18, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
panel39.add(panel40, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
final JPanel panel41 = new JPanel();
|
||||||
|
panel41.setLayout(new GridLayoutManager(1, 1, new Insets(2, 6, 5, 0), -1, -1));
|
||||||
|
panel41.setBackground(new Color(-14210516));
|
||||||
|
panel40.add(panel41, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JLabel label45 = new JLabel();
|
final JLabel label45 = new JLabel();
|
||||||
Font label45Font = this.$$$getFont$$$(null, Font.BOLD | Font.ITALIC, 14, label45.getFont());
|
Font label45Font = this.$$$getFont$$$(null, Font.BOLD | Font.ITALIC, 14, label45.getFont());
|
||||||
if (label45Font != null) label45.setFont(label45Font);
|
if (label45Font != null) label45.setFont(label45Font);
|
||||||
this.$$$loadLabelText$$$(label45, this.$$$getMessageFromBundle$$$("lang", "performance"));
|
this.$$$loadLabelText$$$(label45, this.$$$getMessageFromBundle$$$("lang", "performance"));
|
||||||
panel40.add(label45, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel41.add(label45, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel41 = new JPanel();
|
|
||||||
panel41.setLayout(new GridLayoutManager(1, 1, new Insets(5, 0, 5, 0), -1, -1));
|
|
||||||
panel35.add(panel41, new GridConstraints(14, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
|
||||||
final JPanel panel42 = new JPanel();
|
final JPanel panel42 = new JPanel();
|
||||||
panel42.setLayout(new GridLayoutManager(1, 1, new Insets(2, 6, 5, 0), -1, -1));
|
panel42.setLayout(new GridLayoutManager(1, 1, new Insets(5, 0, 5, 0), -1, -1));
|
||||||
panel42.setBackground(new Color(-14210516));
|
panel36.add(panel42, new GridConstraints(14, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
panel41.add(panel42, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
final JPanel panel43 = new JPanel();
|
||||||
|
panel43.setLayout(new GridLayoutManager(1, 1, new Insets(2, 6, 5, 0), -1, -1));
|
||||||
|
panel43.setBackground(new Color(-14210516));
|
||||||
|
panel42.add(panel43, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JLabel label46 = new JLabel();
|
final JLabel label46 = new JLabel();
|
||||||
Font label46Font = this.$$$getFont$$$(null, Font.BOLD | Font.ITALIC, 14, label46.getFont());
|
Font label46Font = this.$$$getFont$$$(null, Font.BOLD | Font.ITALIC, 14, label46.getFont());
|
||||||
if (label46Font != null) label46.setFont(label46Font);
|
if (label46Font != null) label46.setFont(label46Font);
|
||||||
this.$$$loadLabelText$$$(label46, this.$$$getMessageFromBundle$$$("lang", "speed_up_game"));
|
this.$$$loadLabelText$$$(label46, this.$$$getMessageFromBundle$$$("lang", "speed_up_game"));
|
||||||
panel42.add(label46, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel43.add(label46, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel43 = new JPanel();
|
|
||||||
panel43.setLayout(new GridLayoutManager(1, 1, new Insets(5, 0, 5, 0), -1, -1));
|
|
||||||
panel35.add(panel43, new GridConstraints(28, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
|
||||||
final JPanel panel44 = new JPanel();
|
final JPanel panel44 = new JPanel();
|
||||||
panel44.setLayout(new GridLayoutManager(1, 1, new Insets(2, 6, 5, 0), -1, -1));
|
panel44.setLayout(new GridLayoutManager(1, 1, new Insets(5, 0, 5, 0), -1, -1));
|
||||||
panel44.setBackground(new Color(-14210516));
|
panel36.add(panel44, new GridConstraints(28, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
panel43.add(panel44, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
final JPanel panel45 = new JPanel();
|
||||||
|
panel45.setLayout(new GridLayoutManager(1, 1, new Insets(2, 6, 5, 0), -1, -1));
|
||||||
|
panel45.setBackground(new Color(-14210516));
|
||||||
|
panel44.add(panel45, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JLabel label47 = new JLabel();
|
final JLabel label47 = new JLabel();
|
||||||
Font label47Font = this.$$$getFont$$$(null, Font.BOLD | Font.ITALIC, 14, label47.getFont());
|
Font label47Font = this.$$$getFont$$$(null, Font.BOLD | Font.ITALIC, 14, label47.getFont());
|
||||||
if (label47Font != null) label47.setFont(label47Font);
|
if (label47Font != null) label47.setFont(label47Font);
|
||||||
this.$$$loadLabelText$$$(label47, this.$$$getMessageFromBundle$$$("lang", "developer_settings"));
|
this.$$$loadLabelText$$$(label47, this.$$$getMessageFromBundle$$$("lang", "developer_settings"));
|
||||||
panel44.add(label47, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel45.add(label47, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label48 = new JLabel();
|
final JLabel label48 = new JLabel();
|
||||||
label48.setText("NoPause");
|
label48.setText("NoPause");
|
||||||
label48.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "nopause_desc"));
|
label48.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "nopause_desc"));
|
||||||
panel35.add(label48, new GridConstraints(29, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label48, new GridConstraints(29, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label49 = new JLabel();
|
final JLabel label49 = new JLabel();
|
||||||
label49.setText("ShowScriptErrors");
|
label49.setText("ShowScriptErrors");
|
||||||
label49.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "showscripterrors_desc"));
|
label49.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "showscripterrors_desc"));
|
||||||
panel35.add(label49, new GridConstraints(30, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label49, new GridConstraints(30, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label50 = new JLabel();
|
final JLabel label50 = new JLabel();
|
||||||
label50.setText("FilePatching");
|
label50.setText("FilePatching");
|
||||||
label50.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "filepatching_desc"));
|
label50.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "filepatching_desc"));
|
||||||
panel35.add(label50, new GridConstraints(31, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label50, new GridConstraints(31, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label51 = new JLabel();
|
final JLabel label51 = new JLabel();
|
||||||
label51.setText("Init");
|
label51.setText("Init");
|
||||||
label51.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "init_desc"));
|
label51.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "init_desc"));
|
||||||
panel35.add(label51, new GridConstraints(32, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label51, new GridConstraints(32, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label52 = new JLabel();
|
final JLabel label52 = new JLabel();
|
||||||
label52.setText("Beta");
|
label52.setText("Beta");
|
||||||
label52.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "beta_desc"));
|
label52.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "beta_desc"));
|
||||||
panel35.add(label52, new GridConstraints(33, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label52, new GridConstraints(33, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label53 = new JLabel();
|
final JLabel label53 = new JLabel();
|
||||||
label53.setText("CrashDiag");
|
label53.setText("CrashDiag");
|
||||||
label53.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "crashdiag_desc"));
|
label53.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "crashdiag_desc"));
|
||||||
panel35.add(label53, new GridConstraints(34, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label53, new GridConstraints(34, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label54 = new JLabel();
|
final JLabel label54 = new JLabel();
|
||||||
label54.setText("Window");
|
label54.setText("Window");
|
||||||
label54.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "window_desc"));
|
label54.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "window_desc"));
|
||||||
panel35.add(label54, new GridConstraints(36, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label54, new GridConstraints(36, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel45 = new JPanel();
|
|
||||||
panel45.setLayout(new GridLayoutManager(1, 1, new Insets(5, 0, 5, 0), -1, -1));
|
|
||||||
panel35.add(panel45, new GridConstraints(35, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
|
||||||
final JPanel panel46 = new JPanel();
|
final JPanel panel46 = new JPanel();
|
||||||
panel46.setLayout(new GridLayoutManager(1, 1, new Insets(2, 6, 5, 0), -1, -1));
|
panel46.setLayout(new GridLayoutManager(1, 1, new Insets(5, 0, 5, 0), -1, -1));
|
||||||
panel46.setBackground(new Color(-14210516));
|
panel36.add(panel46, new GridConstraints(35, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
panel45.add(panel46, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
final JPanel panel47 = new JPanel();
|
||||||
|
panel47.setLayout(new GridLayoutManager(1, 1, new Insets(2, 6, 5, 0), -1, -1));
|
||||||
|
panel47.setBackground(new Color(-14210516));
|
||||||
|
panel46.add(panel47, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JLabel label55 = new JLabel();
|
final JLabel label55 = new JLabel();
|
||||||
Font label55Font = this.$$$getFont$$$(null, Font.BOLD | Font.ITALIC, 14, label55.getFont());
|
Font label55Font = this.$$$getFont$$$(null, Font.BOLD | Font.ITALIC, 14, label55.getFont());
|
||||||
if (label55Font != null) label55.setFont(label55Font);
|
if (label55Font != null) label55.setFont(label55Font);
|
||||||
this.$$$loadLabelText$$$(label55, this.$$$getMessageFromBundle$$$("lang", "display_settings"));
|
this.$$$loadLabelText$$$(label55, this.$$$getMessageFromBundle$$$("lang", "display_settings"));
|
||||||
panel46.add(label55, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel47.add(label55, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label56 = new JLabel();
|
final JLabel label56 = new JLabel();
|
||||||
label56.setText("PosX");
|
label56.setText("PosX");
|
||||||
label56.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "posx_desc"));
|
label56.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "posx_desc"));
|
||||||
panel35.add(label56, new GridConstraints(37, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label56, new GridConstraints(37, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label57 = new JLabel();
|
final JLabel label57 = new JLabel();
|
||||||
label57.setText("PosY");
|
label57.setText("PosY");
|
||||||
label57.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "posy_desc"));
|
label57.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "posy_desc"));
|
||||||
panel35.add(label57, new GridConstraints(38, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label57, new GridConstraints(38, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsNoCBBox = new JCheckBox();
|
settingsNoCBBox = new JCheckBox();
|
||||||
settingsNoCBBox.setText("");
|
settingsNoCBBox.setText("");
|
||||||
panel35.add(settingsNoCBBox, new GridConstraints(21, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsNoCBBox, new GridConstraints(21, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsMallocCombo = new JComboBox();
|
settingsMallocCombo = new JComboBox();
|
||||||
final DefaultComboBoxModel defaultComboBoxModel2 = new DefaultComboBoxModel();
|
final DefaultComboBoxModel defaultComboBoxModel2 = new DefaultComboBoxModel();
|
||||||
defaultComboBoxModel2.addElement("");
|
defaultComboBoxModel2.addElement("");
|
||||||
@ -2188,162 +2199,162 @@ public class LauncherGUI implements Observer {
|
|||||||
defaultComboBoxModel2.addElement("jemalloc_bi_x64");
|
defaultComboBoxModel2.addElement("jemalloc_bi_x64");
|
||||||
defaultComboBoxModel2.addElement("system");
|
defaultComboBoxModel2.addElement("system");
|
||||||
settingsMallocCombo.setModel(defaultComboBoxModel2);
|
settingsMallocCombo.setModel(defaultComboBoxModel2);
|
||||||
panel35.add(settingsMallocCombo, new GridConstraints(24, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsMallocCombo, new GridConstraints(24, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsNoLogsBox = new JCheckBox();
|
settingsNoLogsBox = new JCheckBox();
|
||||||
settingsNoLogsBox.setText("");
|
settingsNoLogsBox.setText("");
|
||||||
panel35.add(settingsNoLogsBox, new GridConstraints(25, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsNoLogsBox, new GridConstraints(25, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsEnableHTBox = new JCheckBox();
|
settingsEnableHTBox = new JCheckBox();
|
||||||
settingsEnableHTBox.setText("");
|
settingsEnableHTBox.setText("");
|
||||||
panel35.add(settingsEnableHTBox, new GridConstraints(26, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsEnableHTBox, new GridConstraints(26, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsHugeoagesBox = new JCheckBox();
|
settingsHugeoagesBox = new JCheckBox();
|
||||||
settingsHugeoagesBox.setText("");
|
settingsHugeoagesBox.setText("");
|
||||||
panel35.add(settingsHugeoagesBox, new GridConstraints(27, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsHugeoagesBox, new GridConstraints(27, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsNoPauseBox = new JCheckBox();
|
settingsNoPauseBox = new JCheckBox();
|
||||||
settingsNoPauseBox.setText("");
|
settingsNoPauseBox.setText("");
|
||||||
panel35.add(settingsNoPauseBox, new GridConstraints(29, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsNoPauseBox, new GridConstraints(29, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsShowScriptErrorsBox = new JCheckBox();
|
settingsShowScriptErrorsBox = new JCheckBox();
|
||||||
settingsShowScriptErrorsBox.setText("");
|
settingsShowScriptErrorsBox.setText("");
|
||||||
panel35.add(settingsShowScriptErrorsBox, new GridConstraints(30, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsShowScriptErrorsBox, new GridConstraints(30, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsFilePatchingBox = new JCheckBox();
|
settingsFilePatchingBox = new JCheckBox();
|
||||||
settingsFilePatchingBox.setText("");
|
settingsFilePatchingBox.setText("");
|
||||||
panel35.add(settingsFilePatchingBox, new GridConstraints(31, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsFilePatchingBox, new GridConstraints(31, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsCrashDiagBox = new JCheckBox();
|
settingsCrashDiagBox = new JCheckBox();
|
||||||
settingsCrashDiagBox.setText("");
|
settingsCrashDiagBox.setText("");
|
||||||
panel35.add(settingsCrashDiagBox, new GridConstraints(34, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsCrashDiagBox, new GridConstraints(34, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsWindowBox = new JCheckBox();
|
settingsWindowBox = new JCheckBox();
|
||||||
settingsWindowBox.setText("");
|
settingsWindowBox.setText("");
|
||||||
panel35.add(settingsWindowBox, new GridConstraints(36, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsWindowBox, new GridConstraints(36, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsMaxMemSpinner = new JSpinner();
|
settingsMaxMemSpinner = new JSpinner();
|
||||||
panel35.add(settingsMaxMemSpinner, new GridConstraints(19, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsMaxMemSpinner, new GridConstraints(19, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsMaxVRamSpinner = new JSpinner();
|
settingsMaxVRamSpinner = new JSpinner();
|
||||||
panel35.add(settingsMaxVRamSpinner, new GridConstraints(20, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsMaxVRamSpinner, new GridConstraints(20, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsCpuCountSpinner = new JSpinner();
|
settingsCpuCountSpinner = new JSpinner();
|
||||||
panel35.add(settingsCpuCountSpinner, new GridConstraints(22, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsCpuCountSpinner, new GridConstraints(22, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsPosXSpinner = new JSpinner();
|
settingsPosXSpinner = new JSpinner();
|
||||||
panel35.add(settingsPosXSpinner, new GridConstraints(37, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsPosXSpinner, new GridConstraints(37, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsPosYSpinner = new JSpinner();
|
settingsPosYSpinner = new JSpinner();
|
||||||
panel35.add(settingsPosYSpinner, new GridConstraints(38, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsPosYSpinner, new GridConstraints(38, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsInitText = new JTextField();
|
settingsInitText = new JTextField();
|
||||||
panel35.add(settingsInitText, new GridConstraints(32, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
panel36.add(settingsInitText, new GridConstraints(32, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||||
settingsExThreadsCombo = new JComboBox();
|
settingsExThreadsCombo = new JComboBox();
|
||||||
final DefaultComboBoxModel defaultComboBoxModel3 = new DefaultComboBoxModel();
|
final DefaultComboBoxModel defaultComboBoxModel3 = new DefaultComboBoxModel();
|
||||||
defaultComboBoxModel3.addElement("");
|
defaultComboBoxModel3.addElement("");
|
||||||
defaultComboBoxModel3.addElement("3");
|
defaultComboBoxModel3.addElement("3");
|
||||||
defaultComboBoxModel3.addElement("7");
|
defaultComboBoxModel3.addElement("7");
|
||||||
settingsExThreadsCombo.setModel(defaultComboBoxModel3);
|
settingsExThreadsCombo.setModel(defaultComboBoxModel3);
|
||||||
panel35.add(settingsExThreadsCombo, new GridConstraints(23, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsExThreadsCombo, new GridConstraints(23, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsSkipIntroBox = new JCheckBox();
|
settingsSkipIntroBox = new JCheckBox();
|
||||||
settingsSkipIntroBox.setText("");
|
settingsSkipIntroBox.setText("");
|
||||||
panel35.add(settingsSkipIntroBox, new GridConstraints(16, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsSkipIntroBox, new GridConstraints(16, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsNoSplashBox = new JCheckBox();
|
settingsNoSplashBox = new JCheckBox();
|
||||||
settingsNoSplashBox.setText("");
|
settingsNoSplashBox.setText("");
|
||||||
panel35.add(settingsNoSplashBox, new GridConstraints(15, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsNoSplashBox, new GridConstraints(15, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsUseSixtyFourBitBox = new JCheckBox();
|
settingsUseSixtyFourBitBox = new JCheckBox();
|
||||||
settingsUseSixtyFourBitBox.setText("");
|
settingsUseSixtyFourBitBox.setText("");
|
||||||
panel35.add(settingsUseSixtyFourBitBox, new GridConstraints(13, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsUseSixtyFourBitBox, new GridConstraints(13, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label58 = new JLabel();
|
final JLabel label58 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label58, this.$$$getMessageFromBundle$$$("lang", "language"));
|
this.$$$loadLabelText$$$(label58, this.$$$getMessageFromBundle$$$("lang", "language"));
|
||||||
panel35.add(label58, new GridConstraints(7, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label58, new GridConstraints(7, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsLanguageCombo = new JComboBox();
|
settingsLanguageCombo = new JComboBox();
|
||||||
final DefaultComboBoxModel defaultComboBoxModel4 = new DefaultComboBoxModel();
|
final DefaultComboBoxModel defaultComboBoxModel4 = new DefaultComboBoxModel();
|
||||||
defaultComboBoxModel4.addElement("System");
|
defaultComboBoxModel4.addElement("System");
|
||||||
defaultComboBoxModel4.addElement("English");
|
defaultComboBoxModel4.addElement("English");
|
||||||
defaultComboBoxModel4.addElement("Deutsch");
|
defaultComboBoxModel4.addElement("Deutsch");
|
||||||
settingsLanguageCombo.setModel(defaultComboBoxModel4);
|
settingsLanguageCombo.setModel(defaultComboBoxModel4);
|
||||||
panel35.add(settingsLanguageCombo, new GridConstraints(7, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsLanguageCombo, new GridConstraints(7, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsBetaText = new JTextField();
|
settingsBetaText = new JTextField();
|
||||||
panel35.add(settingsBetaText, new GridConstraints(33, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
panel36.add(settingsBetaText, new GridConstraints(33, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||||
final JPanel panel47 = new JPanel();
|
final JPanel panel48 = new JPanel();
|
||||||
panel47.setLayout(new GridLayoutManager(1, 1, new Insets(25, 0, 5, 0), -1, -1));
|
panel48.setLayout(new GridLayoutManager(1, 1, new Insets(25, 0, 5, 0), -1, -1));
|
||||||
panel35.add(panel47, new GridConstraints(39, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
panel36.add(panel48, new GridConstraints(39, 0, 1, 5, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
settingsResetDefault = new JButton();
|
settingsResetDefault = new JButton();
|
||||||
Font settingsResetDefaultFont = this.$$$getFont$$$(null, Font.BOLD, 14, settingsResetDefault.getFont());
|
Font settingsResetDefaultFont = this.$$$getFont$$$(null, Font.BOLD, 14, settingsResetDefault.getFont());
|
||||||
if (settingsResetDefaultFont != null) settingsResetDefault.setFont(settingsResetDefaultFont);
|
if (settingsResetDefaultFont != null) settingsResetDefault.setFont(settingsResetDefaultFont);
|
||||||
this.$$$loadButtonText$$$(settingsResetDefault, this.$$$getMessageFromBundle$$$("lang", "reset_default"));
|
this.$$$loadButtonText$$$(settingsResetDefault, this.$$$getMessageFromBundle$$$("lang", "reset_default"));
|
||||||
panel47.add(settingsResetDefault, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel48.add(settingsResetDefault, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label59 = new JLabel();
|
final JLabel label59 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label59, this.$$$getMessageFromBundle$$$("lang", "use_workshop"));
|
this.$$$loadLabelText$$$(label59, this.$$$getMessageFromBundle$$$("lang", "use_workshop"));
|
||||||
label59.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "use_workshop_desc"));
|
label59.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "use_workshop_desc"));
|
||||||
panel35.add(label59, new GridConstraints(5, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label59, new GridConstraints(5, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsUseWorkshopBox = new JCheckBox();
|
settingsUseWorkshopBox = new JCheckBox();
|
||||||
settingsUseWorkshopBox.setText("");
|
settingsUseWorkshopBox.setText("");
|
||||||
panel35.add(settingsUseWorkshopBox, new GridConstraints(5, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsUseWorkshopBox, new GridConstraints(5, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label60 = new JLabel();
|
final JLabel label60 = new JLabel();
|
||||||
label60.setText("MB");
|
label60.setText("MB");
|
||||||
panel35.add(label60, new GridConstraints(19, 4, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label60, new GridConstraints(19, 4, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label61 = new JLabel();
|
final JLabel label61 = new JLabel();
|
||||||
label61.setText("MB");
|
label61.setText("MB");
|
||||||
panel35.add(label61, new GridConstraints(20, 4, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label61, new GridConstraints(20, 4, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label62 = new JLabel();
|
final JLabel label62 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label62, this.$$$getMessageFromBundle$$$("lang", "use_debug"));
|
this.$$$loadLabelText$$$(label62, this.$$$getMessageFromBundle$$$("lang", "use_debug"));
|
||||||
label62.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "use_debug_tooltip"));
|
label62.setToolTipText(this.$$$getMessageFromBundle$$$("lang", "use_debug_tooltip"));
|
||||||
panel35.add(label62, new GridConstraints(9, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(label62, new GridConstraints(9, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
settingsDebugBox = new JCheckBox();
|
settingsDebugBox = new JCheckBox();
|
||||||
settingsDebugBox.setText("");
|
settingsDebugBox.setText("");
|
||||||
panel35.add(settingsDebugBox, new GridConstraints(9, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(settingsDebugBox, new GridConstraints(9, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
showModfolderInExplorerButton = new JButton();
|
showModfolderInExplorerButton = new JButton();
|
||||||
this.$$$loadButtonText$$$(showModfolderInExplorerButton, this.$$$getMessageFromBundle$$$("lang", "show_in_explorer"));
|
this.$$$loadButtonText$$$(showModfolderInExplorerButton, this.$$$getMessageFromBundle$$$("lang", "show_in_explorer"));
|
||||||
panel35.add(showModfolderInExplorerButton, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel36.add(showModfolderInExplorerButton, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
aboutTab = new JPanel();
|
aboutTab = new JPanel();
|
||||||
aboutTab.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
|
aboutTab.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
aboutTab.setOpaque(true);
|
aboutTab.setOpaque(true);
|
||||||
tabbedPane1.addTab("About", aboutTab);
|
tabbedPane1.addTab("About", aboutTab);
|
||||||
final JPanel panel48 = new JPanel();
|
final JPanel panel49 = new JPanel();
|
||||||
panel48.setLayout(new GridLayoutManager(1, 1, new Insets(10, 150, 5, 150), -1, -1));
|
panel49.setLayout(new GridLayoutManager(1, 1, new Insets(10, 150, 5, 150), -1, -1));
|
||||||
aboutTab.add(panel48, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
aboutTab.add(panel49, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JSplitPane splitPane2 = new JSplitPane();
|
final JSplitPane splitPane2 = new JSplitPane();
|
||||||
splitPane2.setEnabled(false);
|
splitPane2.setEnabled(false);
|
||||||
splitPane2.setOrientation(0);
|
splitPane2.setOrientation(0);
|
||||||
panel48.add(splitPane2, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, new Dimension(200, 200), null, 0, false));
|
panel49.add(splitPane2, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, new Dimension(200, 200), null, 0, false));
|
||||||
final JPanel panel49 = new JPanel();
|
|
||||||
panel49.setLayout(new GridLayoutManager(2, 2, new Insets(0, 0, 0, 0), -1, -1));
|
|
||||||
splitPane2.setLeftComponent(panel49);
|
|
||||||
final JPanel panel50 = new JPanel();
|
final JPanel panel50 = new JPanel();
|
||||||
panel50.setLayout(new GridLayoutManager(4, 1, new Insets(0, 0, 0, 0), -1, -1));
|
panel50.setLayout(new GridLayoutManager(2, 2, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
panel49.add(panel50, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
splitPane2.setLeftComponent(panel50);
|
||||||
|
final JPanel panel51 = new JPanel();
|
||||||
|
panel51.setLayout(new GridLayoutManager(4, 1, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
|
panel50.add(panel51, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
aboutClient = new JLabel();
|
aboutClient = new JLabel();
|
||||||
aboutClient.setEnabled(true);
|
aboutClient.setEnabled(true);
|
||||||
Font aboutClientFont = this.$$$getFont$$$(null, Font.BOLD, 18, aboutClient.getFont());
|
Font aboutClientFont = this.$$$getFont$$$(null, Font.BOLD, 18, aboutClient.getFont());
|
||||||
if (aboutClientFont != null) aboutClient.setFont(aboutClientFont);
|
if (aboutClientFont != null) aboutClient.setFont(aboutClientFont);
|
||||||
aboutClient.setText("Client v1.0.1000");
|
aboutClient.setText("Client v1.0.1000");
|
||||||
panel50.add(aboutClient, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_SOUTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel51.add(aboutClient, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_SOUTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
aboutUpdateLabel = new JLabel();
|
aboutUpdateLabel = new JLabel();
|
||||||
aboutUpdateLabel.setRequestFocusEnabled(true);
|
aboutUpdateLabel.setRequestFocusEnabled(true);
|
||||||
this.$$$loadLabelText$$$(aboutUpdateLabel, this.$$$getMessageFromBundle$$$("lang", "client_up_to_date"));
|
this.$$$loadLabelText$$$(aboutUpdateLabel, this.$$$getMessageFromBundle$$$("lang", "client_up_to_date"));
|
||||||
panel50.add(aboutUpdateLabel, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_NORTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel51.add(aboutUpdateLabel, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_NORTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel51 = new JPanel();
|
final JPanel panel52 = new JPanel();
|
||||||
panel51.setLayout(new GridLayoutManager(2, 2, new Insets(0, 0, 0, 0), -1, -1));
|
panel52.setLayout(new GridLayoutManager(2, 2, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
panel50.add(panel51, new GridConstraints(3, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
panel51.add(panel52, new GridConstraints(3, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JLabel label63 = new JLabel();
|
final JLabel label63 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label63, this.$$$getMessageFromBundle$$$("lang", "developer_page"));
|
this.$$$loadLabelText$$$(label63, this.$$$getMessageFromBundle$$$("lang", "developer_page"));
|
||||||
panel51.add(label63, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_SOUTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel52.add(label63, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_SOUTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
aboutDeveloperLabel = new JLabel();
|
aboutDeveloperLabel = new JLabel();
|
||||||
aboutDeveloperLabel.setRequestFocusEnabled(true);
|
aboutDeveloperLabel.setRequestFocusEnabled(true);
|
||||||
aboutDeveloperLabel.setText("github.com");
|
aboutDeveloperLabel.setText("github.com");
|
||||||
panel51.add(aboutDeveloperLabel, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_SOUTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel52.add(aboutDeveloperLabel, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_SOUTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label64 = new JLabel();
|
final JLabel label64 = new JLabel();
|
||||||
this.$$$loadLabelText$$$(label64, this.$$$getMessageFromBundle$$$("lang", "project_page"));
|
this.$$$loadLabelText$$$(label64, this.$$$getMessageFromBundle$$$("lang", "project_page"));
|
||||||
panel51.add(label64, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_NORTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel52.add(label64, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_NORTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
aboutProjectLabel = new JLabel();
|
aboutProjectLabel = new JLabel();
|
||||||
aboutProjectLabel.setText("gurkengewuerz.de");
|
aboutProjectLabel.setText("gurkengewuerz.de");
|
||||||
panel51.add(aboutProjectLabel, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_NORTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel52.add(aboutProjectLabel, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_NORTHWEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
updateButton = new JButton();
|
updateButton = new JButton();
|
||||||
this.$$$loadButtonText$$$(updateButton, this.$$$getMessageFromBundle$$$("lang", "update_now"));
|
this.$$$loadButtonText$$$(updateButton, this.$$$getMessageFromBundle$$$("lang", "update_now"));
|
||||||
panel50.add(updateButton, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel51.add(updateButton, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JPanel panel52 = new JPanel();
|
|
||||||
panel52.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
|
|
||||||
panel49.add(panel52, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
|
||||||
aboutLogo = new JLabel();
|
|
||||||
aboutLogo.setText("");
|
|
||||||
panel52.add(aboutLogo, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
aboutCopyrightLabel = new JLabel();
|
|
||||||
aboutCopyrightLabel.setText("Copyright (c) 2020-{year} Niklas Schütrumpf (Gurkengewuerz)");
|
|
||||||
panel49.add(aboutCopyrightLabel, new GridConstraints(1, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
final JPanel panel53 = new JPanel();
|
final JPanel panel53 = new JPanel();
|
||||||
panel53.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
|
panel53.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
splitPane2.setRightComponent(panel53);
|
panel50.add(panel53, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
|
aboutLogo = new JLabel();
|
||||||
|
aboutLogo.setText("");
|
||||||
|
panel53.add(aboutLogo, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
|
aboutCopyrightLabel = new JLabel();
|
||||||
|
aboutCopyrightLabel.setText("Copyright (c) 2020-{year} Niklas Schütrumpf (Gurkengewuerz)");
|
||||||
|
panel50.add(aboutCopyrightLabel, new GridConstraints(1, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
|
final JPanel panel54 = new JPanel();
|
||||||
|
panel54.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
|
splitPane2.setRightComponent(panel54);
|
||||||
final JScrollPane scrollPane3 = new JScrollPane();
|
final JScrollPane scrollPane3 = new JScrollPane();
|
||||||
panel53.add(scrollPane3, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
panel54.add(scrollPane3, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
||||||
scrollPane3.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEmptyBorder(), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
|
scrollPane3.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEmptyBorder(), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
|
||||||
disclaimer = new JTextPane();
|
disclaimer = new JTextPane();
|
||||||
disclaimer.setContentType("text/html");
|
disclaimer.setContentType("text/html");
|
||||||
|
@ -26,4 +26,6 @@ public interface SyncListener {
|
|||||||
public void zsyncComplete();
|
public void zsyncComplete();
|
||||||
public void zsyncFailed(Exception exception);
|
public void zsyncFailed(Exception exception);
|
||||||
public void zsyncStarted(Zsync.Options options);
|
public void zsyncStarted(Zsync.Options options);
|
||||||
|
public void bytesToDownload(long bytes);
|
||||||
|
public void downloaded(long bytes);
|
||||||
}
|
}
|
||||||
|
@ -104,4 +104,15 @@ public class SyncObserver extends ZsyncStatsObserver {
|
|||||||
listener.bytesDownloaded(bytes);
|
listener.bytesDownloaded(bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void bytesToDownload(long bytes) {
|
||||||
|
super.bytesToDownload(bytes);
|
||||||
|
listener.bytesToDownload(bytes);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void downloaded(long bytes) {
|
||||||
|
super.downloaded(bytes);
|
||||||
|
listener.downloaded(bytes);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,16 +53,16 @@ public class Syncer implements Observable, SyncListener {
|
|||||||
private long syncSize;
|
private long syncSize;
|
||||||
private int syncCount;
|
private int syncCount;
|
||||||
|
|
||||||
private int syncRealCount;
|
private long syncRealCount;
|
||||||
|
|
||||||
private SyncObserver syncObserver;
|
private SyncObserver syncObserver;
|
||||||
|
|
||||||
private long speedCalcSize = 0L;
|
private long speedCalcSize = 0L;
|
||||||
private long speedCalcTime = 0L;
|
private long speedCalcTime = 0L;
|
||||||
|
|
||||||
private long downloadDownloaded = 0L;
|
|
||||||
private long downloadStarted = 0L;
|
private long downloadStarted = 0L;
|
||||||
private long downloadSize = 0L;
|
private long downloadSize = 0L;
|
||||||
|
private long currentDownloadDownloaded = 0L;
|
||||||
|
|
||||||
private Zsync zsync;
|
private Zsync zsync;
|
||||||
private LauncherGUI gui;
|
private LauncherGUI gui;
|
||||||
@ -86,16 +86,15 @@ public class Syncer implements Observable, SyncListener {
|
|||||||
failed = 0;
|
failed = 0;
|
||||||
success = 0;
|
success = 0;
|
||||||
|
|
||||||
speedCalcSize = 0;
|
|
||||||
speedCalcTime = 0;
|
|
||||||
|
|
||||||
syncRealCount = 0;
|
syncRealCount = 0;
|
||||||
|
|
||||||
syncSize = ml.getSize();
|
syncSize = ml.getSize();
|
||||||
syncCount = ml.getCount();
|
syncCount = ml.getCount();
|
||||||
SwingUtilities.invokeLater(() -> {
|
SwingUtilities.invokeLater(() -> {
|
||||||
gui.syncDownloadProgress.setMaximum(syncCount);
|
gui.syncDownloadProgress.setMaximum(100);
|
||||||
gui.syncDownloadProgress.setValue(0);
|
gui.syncDownloadProgress.setValue(0);
|
||||||
|
gui.syncDownloadFileProgress.setMaximum(100);
|
||||||
|
gui.syncDownloadFileProgress.setValue(0);
|
||||||
TaskBarUtils.getInstance().normal();
|
TaskBarUtils.getInstance().normal();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -182,6 +181,7 @@ public class Syncer implements Observable, SyncListener {
|
|||||||
try {
|
try {
|
||||||
currentDownload = mf;
|
currentDownload = mf;
|
||||||
currentDownload_failed = false;
|
currentDownload_failed = false;
|
||||||
|
downloadStarted = 0;
|
||||||
|
|
||||||
syncObserver = new SyncObserver(this);
|
syncObserver = new SyncObserver(this);
|
||||||
zsync.zsync(URI.create(mf.getRemoteFile() + ".zsync"), o, syncObserver);
|
zsync.zsync(URI.create(mf.getRemoteFile() + ".zsync"), o, syncObserver);
|
||||||
@ -252,28 +252,15 @@ public class Syncer implements Observable, SyncListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void zsyncComplete() {
|
public void zsyncComplete() {
|
||||||
speedCalcSize+=downloadDownloaded;
|
|
||||||
speedCalcTime+=System.currentTimeMillis()-downloadStarted;
|
|
||||||
|
|
||||||
if (speedCalcSize > 20 * 1024 * 1024) {
|
|
||||||
final double speedByte = ((double)speedCalcSize)/((double)speedCalcTime /1000);
|
|
||||||
logger.info("ZSync - download speed: {} bytes/s", speedByte);
|
|
||||||
SwingUtilities.invokeLater(() -> gui.syncDownloadSpeedLabel.setText(Humanize.binaryPrefix(Double.valueOf(speedByte).longValue()) + "/s"));
|
|
||||||
speedCalcSize = 0L;
|
|
||||||
speedCalcTime = 0L;
|
|
||||||
}
|
|
||||||
|
|
||||||
logger.info("ZSync - complete");
|
logger.info("ZSync - complete");
|
||||||
|
|
||||||
if (currentDownload_failed)
|
if (currentDownload_failed)
|
||||||
failed++;
|
failed++;
|
||||||
else success++;
|
else success++;
|
||||||
|
|
||||||
syncRealCount+=downloadDownloaded;
|
syncRealCount += currentDownloadDownloaded;
|
||||||
|
|
||||||
final long finalSize = syncSize - ((syncSize - modlist.getSize() + currentDownload.getSize()) - syncRealCount);
|
|
||||||
final int i = success + failed;
|
final int i = success + failed;
|
||||||
final int percentage = (int) ((double) i / (double) Long.valueOf(syncCount).intValue() * 100);
|
|
||||||
final String modPath = currentDownload.getModPath();
|
final String modPath = currentDownload.getModPath();
|
||||||
|
|
||||||
|
|
||||||
@ -287,17 +274,14 @@ public class Syncer implements Observable, SyncListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SwingUtilities.invokeLater(() -> {
|
SwingUtilities.invokeLater(() -> {
|
||||||
gui.syncDownloadProgress.setValue(i);
|
gui.syncDownloadFileProgress.setValue(0);
|
||||||
|
gui.syncDownloadFileProgress.setString("");
|
||||||
gui.syncFileCountLabel.setText(i + "/" + syncCount + " (" + failed + " failed)");
|
gui.syncFileCountLabel.setText(i + "/" + syncCount + " (" + failed + " failed)");
|
||||||
gui.syncSizeLabel.setText(Humanize.binaryPrefix(syncRealCount) + "/" + Humanize.binaryPrefix(finalSize));
|
|
||||||
|
|
||||||
if (currentDownload_failed)
|
if (currentDownload_failed)
|
||||||
gui.syncStatusLabel.setText(modPath + ": Sync failed");
|
gui.syncStatusLabel.setText(modPath + ": Sync failed");
|
||||||
else
|
else
|
||||||
gui.syncStatusLabel.setText(modPath + ": Sync finished");
|
gui.syncStatusLabel.setText(modPath + ": Sync finished");
|
||||||
|
|
||||||
gui.syncDownloadProgress.setString(percentage + " %");
|
|
||||||
TaskBarUtils.getInstance().setValue(percentage);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
finnishCurrent();
|
finnishCurrent();
|
||||||
@ -350,9 +334,6 @@ public class Syncer implements Observable, SyncListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void remoteFileDownloadingStarted(long length) {
|
public void remoteFileDownloadingStarted(long length) {
|
||||||
downloadDownloaded = 0;
|
|
||||||
downloadSize = length;
|
|
||||||
|
|
||||||
logger.info("ZSync - remote file downloading started: {} bytes", length);
|
logger.info("ZSync - remote file downloading started: {} bytes", length);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -363,7 +344,6 @@ public class Syncer implements Observable, SyncListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void bytesDownloaded(long bytes) {
|
public void bytesDownloaded(long bytes) {
|
||||||
downloadDownloaded += bytes;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isStopped() {
|
public boolean isStopped() {
|
||||||
@ -408,4 +388,50 @@ public class Syncer implements Observable, SyncListener {
|
|||||||
public void notifyObservers(String obj) {
|
public void notifyObservers(String obj) {
|
||||||
for (Observer obs : observerList) obs.update(obj);
|
for (Observer obs : observerList) obs.update(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void bytesToDownload(long bytes) {
|
||||||
|
downloadSize = bytes;
|
||||||
|
currentDownloadDownloaded = 0;
|
||||||
|
speedCalcSize = 0;
|
||||||
|
speedCalcTime = 0;
|
||||||
|
logger.debug("Must download {} bytes", bytes);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void downloaded(long bytes) {
|
||||||
|
if(downloadStarted == 0) return;
|
||||||
|
currentDownloadDownloaded += bytes;
|
||||||
|
final int percentageFile = (int) (Long.valueOf(currentDownloadDownloaded).doubleValue() / Long.valueOf(downloadSize).doubleValue() * 100);
|
||||||
|
final String humanCurrent = Humanize.binaryPrefix(currentDownloadDownloaded);
|
||||||
|
final String humanDownloadSize = Humanize.binaryPrefix(downloadSize);
|
||||||
|
|
||||||
|
final long downloadProgress = syncRealCount + currentDownloadDownloaded;
|
||||||
|
final String humanProgress = Humanize.binaryPrefix(downloadProgress);
|
||||||
|
final long finalSize = syncRealCount + modlist.getSize();
|
||||||
|
final String humanfinalSize = Humanize.binaryPrefix(finalSize);
|
||||||
|
final int percentage = (int) (Long.valueOf(downloadProgress).doubleValue() / Long.valueOf(finalSize).doubleValue() * 100);
|
||||||
|
|
||||||
|
speedCalcSize+=currentDownloadDownloaded;
|
||||||
|
speedCalcTime+=System.currentTimeMillis()-downloadStarted;
|
||||||
|
|
||||||
|
if (speedCalcSize > 20 * 1024 * 1024) {
|
||||||
|
final double speedByte = ((double)speedCalcSize)/((double)speedCalcTime /1000);
|
||||||
|
SwingUtilities.invokeLater(() -> gui.syncDownloadSpeedLabel.setText(Humanize.binaryPrefix(Double.valueOf(speedByte).longValue()) + "/s"));
|
||||||
|
speedCalcSize = 0L;
|
||||||
|
speedCalcTime = 0L;
|
||||||
|
}
|
||||||
|
|
||||||
|
SwingUtilities.invokeLater(() -> {
|
||||||
|
gui.syncDownloadFileProgress.setValue(percentageFile);
|
||||||
|
gui.syncDownloadFileProgress.setString(humanCurrent + "/" + humanDownloadSize);
|
||||||
|
|
||||||
|
gui.syncDownloadProgress.setValue(percentage);
|
||||||
|
gui.syncDownloadProgress.setString(percentage + " %");
|
||||||
|
|
||||||
|
gui.syncSizeLabel.setText(humanProgress + "/" + humanfinalSize);
|
||||||
|
|
||||||
|
TaskBarUtils.getInstance().setValue(percentage);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user