2.85
@ -127,12 +127,12 @@
|
||||
<Component class="javax.swing.JLabel" name="subtitle_label">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="14" style="1"/>
|
||||
<Font name="Dialog" size="16" style="1"/>
|
||||
</Property>
|
||||
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="66" green="66" red="66" type="rgb"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Yet another Java (1.8+) cross-platform mega.nz/megacrypter/ELC downloader/uploader/streamer suite. "/>
|
||||
<Property name="text" type="java.lang.String" value="Yet another cross-platform MEGA.NZ downloader/uploader/streamer suite. "/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
</Properties>
|
||||
</Component>
|
||||
|
@ -71,9 +71,9 @@ public final class AboutDialog extends javax.swing.JDialog {
|
||||
}
|
||||
});
|
||||
|
||||
subtitle_label.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
|
||||
subtitle_label.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
|
||||
subtitle_label.setForeground(new java.awt.Color(102, 102, 102));
|
||||
subtitle_label.setText("Yet another Java (1.8+) cross-platform mega.nz/megacrypter/ELC downloader/uploader/streamer suite. ");
|
||||
subtitle_label.setText("Yet another cross-platform MEGA.NZ downloader/uploader/streamer suite. ");
|
||||
subtitle_label.setDoubleBuffered(true);
|
||||
|
||||
mc_logo_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/mega_crypter.png"))); // NOI18N
|
||||
|
@ -327,6 +327,8 @@ public final class Download implements Transference, Runnable, SecureSingleThrea
|
||||
|
||||
setPause(false);
|
||||
|
||||
getMain_panel().getDownload_manager().setPaused_all(false);
|
||||
|
||||
setPaused_workers(0);
|
||||
|
||||
synchronized (_workers_lock) {
|
||||
|
@ -240,6 +240,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-add-folder-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Add folder"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
<Property name="enabled" type="boolean" value="false"/>
|
||||
@ -253,6 +256,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-add-file-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Add files"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
<Property name="enabled" type="boolean" value="false"/>
|
||||
|
@ -179,6 +179,7 @@ public final class FileGrabberDialog extends javax.swing.JDialog {
|
||||
used_space_label.setDoubleBuffered(true);
|
||||
|
||||
add_folder_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
add_folder_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-add-folder-30.png"))); // NOI18N
|
||||
add_folder_button.setText("Add folder");
|
||||
add_folder_button.setDoubleBuffered(true);
|
||||
add_folder_button.setEnabled(false);
|
||||
@ -189,6 +190,7 @@ public final class FileGrabberDialog extends javax.swing.JDialog {
|
||||
});
|
||||
|
||||
add_files_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
add_files_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-add-file-30.png"))); // NOI18N
|
||||
add_files_button.setText("Add files");
|
||||
add_files_button.setDoubleBuffered(true);
|
||||
add_files_button.setEnabled(false);
|
||||
|
@ -33,7 +33,7 @@
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="down_dir_to_label" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="download_dir_label" pref="366" max="32767" attributes="0"/>
|
||||
<Component id="download_dir_label" pref="329" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="dance_button" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
@ -61,20 +61,20 @@
|
||||
<Component id="dlc_button" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="links_scrollpane" pref="349" max="32767" attributes="0"/>
|
||||
<Component id="links_scrollpane" pref="330" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="use_mega_account_down_label" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="use_mega_account_down_combobox" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="change_dir_button" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="down_dir_to_label" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="download_dir_label" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="dance_button" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace min="-2" pref="6" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
@ -134,6 +134,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-folder-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Change it"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
</Properties>
|
||||
@ -163,6 +166,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="14" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-add-file-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Load DLC container"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
|
@ -144,6 +144,7 @@ public final class LinkGrabberDialog extends javax.swing.JDialog implements Clip
|
||||
links_label.setDoubleBuffered(true);
|
||||
|
||||
change_dir_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
change_dir_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-folder-30.png"))); // NOI18N
|
||||
change_dir_button.setText("Change it");
|
||||
change_dir_button.setDoubleBuffered(true);
|
||||
change_dir_button.addActionListener(new java.awt.event.ActionListener() {
|
||||
@ -160,6 +161,7 @@ public final class LinkGrabberDialog extends javax.swing.JDialog implements Clip
|
||||
download_dir_label.setText("default dir");
|
||||
|
||||
dlc_button.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
|
||||
dlc_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-add-file-30.png"))); // NOI18N
|
||||
dlc_button.setText("Load DLC container");
|
||||
dlc_button.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
@ -190,7 +192,7 @@ public final class LinkGrabberDialog extends javax.swing.JDialog implements Clip
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(down_dir_to_label)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(download_dir_label, javax.swing.GroupLayout.DEFAULT_SIZE, 366, Short.MAX_VALUE)
|
||||
.addComponent(download_dir_label, javax.swing.GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(dance_button))
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
@ -211,18 +213,18 @@ public final class LinkGrabberDialog extends javax.swing.JDialog implements Clip
|
||||
.addComponent(links_label)
|
||||
.addComponent(dlc_button))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(links_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 349, Short.MAX_VALUE)
|
||||
.addComponent(links_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 330, Short.MAX_VALUE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(use_mega_account_down_label)
|
||||
.addComponent(use_mega_account_down_combobox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(change_dir_button)
|
||||
.addComponent(down_dir_to_label)
|
||||
.addComponent(download_dir_label)
|
||||
.addComponent(dance_button))
|
||||
.addContainerGap())
|
||||
.addGap(6, 6, 6))
|
||||
);
|
||||
|
||||
pack();
|
||||
|
@ -48,7 +48,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "2.84";
|
||||
public static final String VERSION = "2.85";
|
||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||
public static final int STREAMER_PORT = 1337;
|
||||
|
@ -66,6 +66,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-save-all-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="SAVE"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
</Properties>
|
||||
@ -78,6 +81,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-cancel-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="CANCEL"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
</Properties>
|
||||
@ -437,6 +443,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-folder-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Change it"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
</Properties>
|
||||
@ -790,7 +799,7 @@
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="mega_accounts_scrollpane" pref="134" max="32767" attributes="0"/>
|
||||
<Component id="mega_accounts_scrollpane" pref="122" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="remove_mega_account_button" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
@ -799,7 +808,7 @@
|
||||
<EmptySpace max="32767" attributes="0"/>
|
||||
<Component id="elc_accounts_label" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="elc_accounts_scrollpane" pref="134" max="32767" attributes="0"/>
|
||||
<Component id="elc_accounts_scrollpane" pref="122" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="remove_elc_account_button" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
@ -854,6 +863,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-minus-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Remove selected"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
<Property name="enabled" type="boolean" value="false"/>
|
||||
@ -867,6 +879,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-plus-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Add account"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
</Properties>
|
||||
@ -897,6 +912,9 @@
|
||||
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="ff" green="ff" red="ff" type="rgb"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-trash-can-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="RESET ACCOUNTS"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
@ -914,6 +932,9 @@
|
||||
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="ff" green="ff" red="ff" type="rgb"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-key-2-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Unlock accounts"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
@ -960,6 +981,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-minus-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Remove selected"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
<Property name="enabled" type="boolean" value="false"/>
|
||||
@ -973,6 +997,9 @@
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
</Property>
|
||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||
<Image iconType="3" name="/megabasterd/icons/icons8-plus-30.png"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Add account"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
</Properties>
|
||||
|
@ -588,6 +588,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
setTitle("Settings");
|
||||
|
||||
save_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
save_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-save-all-30.png"))); // NOI18N
|
||||
save_button.setText("SAVE");
|
||||
save_button.setDoubleBuffered(true);
|
||||
save_button.addActionListener(new java.awt.event.ActionListener() {
|
||||
@ -597,6 +598,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
});
|
||||
|
||||
cancel_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
cancel_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-cancel-30.png"))); // NOI18N
|
||||
cancel_button.setText("CANCEL");
|
||||
cancel_button.setDoubleBuffered(true);
|
||||
cancel_button.addActionListener(new java.awt.event.ActionListener() {
|
||||
@ -667,6 +669,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
use_mega_account_down_combobox.setFont(new java.awt.Font("Dialog", 0, 20)); // NOI18N
|
||||
|
||||
change_download_dir_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
change_download_dir_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-folder-30.png"))); // NOI18N
|
||||
change_download_dir_button.setText("Change it");
|
||||
change_download_dir_button.setDoubleBuffered(true);
|
||||
change_download_dir_button.addActionListener(new java.awt.event.ActionListener() {
|
||||
@ -1006,6 +1009,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
mega_accounts_label.setDoubleBuffered(true);
|
||||
|
||||
remove_mega_account_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
remove_mega_account_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-minus-30.png"))); // NOI18N
|
||||
remove_mega_account_button.setText("Remove selected");
|
||||
remove_mega_account_button.setDoubleBuffered(true);
|
||||
remove_mega_account_button.setEnabled(false);
|
||||
@ -1016,6 +1020,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
});
|
||||
|
||||
add_mega_account_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
add_mega_account_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-plus-30.png"))); // NOI18N
|
||||
add_mega_account_button.setText("Add account");
|
||||
add_mega_account_button.setDoubleBuffered(true);
|
||||
add_mega_account_button.addActionListener(new java.awt.event.ActionListener() {
|
||||
@ -1036,6 +1041,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
delete_all_accounts_button.setBackground(new java.awt.Color(255, 51, 0));
|
||||
delete_all_accounts_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
delete_all_accounts_button.setForeground(new java.awt.Color(255, 255, 255));
|
||||
delete_all_accounts_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-trash-can-30.png"))); // NOI18N
|
||||
delete_all_accounts_button.setText("RESET ACCOUNTS");
|
||||
delete_all_accounts_button.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
@ -1046,6 +1052,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
unlock_accounts_button.setBackground(new java.awt.Color(0, 153, 51));
|
||||
unlock_accounts_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
unlock_accounts_button.setForeground(new java.awt.Color(255, 255, 255));
|
||||
unlock_accounts_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-key-2-30.png"))); // NOI18N
|
||||
unlock_accounts_button.setText("Unlock accounts");
|
||||
unlock_accounts_button.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
@ -1080,6 +1087,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
elc_accounts_label.setDoubleBuffered(true);
|
||||
|
||||
remove_elc_account_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
remove_elc_account_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-minus-30.png"))); // NOI18N
|
||||
remove_elc_account_button.setText("Remove selected");
|
||||
remove_elc_account_button.setDoubleBuffered(true);
|
||||
remove_elc_account_button.setEnabled(false);
|
||||
@ -1090,6 +1098,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
});
|
||||
|
||||
add_elc_account_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
add_elc_account_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-plus-30.png"))); // NOI18N
|
||||
add_elc_account_button.setText("Add account");
|
||||
add_elc_account_button.setDoubleBuffered(true);
|
||||
add_elc_account_button.addActionListener(new java.awt.event.ActionListener() {
|
||||
@ -1148,7 +1157,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(jLabel1)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(mega_accounts_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 134, Short.MAX_VALUE)
|
||||
.addComponent(mega_accounts_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 122, Short.MAX_VALUE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(accounts_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(remove_mega_account_button)
|
||||
@ -1156,7 +1165,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(elc_accounts_label)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(elc_accounts_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 134, Short.MAX_VALUE)
|
||||
.addComponent(elc_accounts_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 122, Short.MAX_VALUE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(accounts_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(remove_elc_account_button)
|
||||
|
@ -475,6 +475,10 @@ public final class Upload implements Transference, Runnable, SecureSingleThreadN
|
||||
|
||||
setPause(false);
|
||||
|
||||
getMain_panel().getUpload_manager().setPaused_all(false);
|
||||
|
||||
setPaused_workers(0);
|
||||
|
||||
synchronized (_workers_lock) {
|
||||
|
||||
for (ChunkUploader uploader : getChunkworkers()) {
|
||||
@ -483,8 +487,6 @@ public final class Upload implements Transference, Runnable, SecureSingleThreadN
|
||||
}
|
||||
}
|
||||
|
||||
setPaused_workers(0);
|
||||
|
||||
getView().resume();
|
||||
|
||||
} else {
|
||||
|
BIN
src/megabasterd/icons/icons8-add-file-30.png
Normal file
After Width: | Height: | Size: 660 B |
BIN
src/megabasterd/icons/icons8-add-folder-30.png
Normal file
After Width: | Height: | Size: 696 B |
BIN
src/megabasterd/icons/icons8-cancel-30.png
Normal file
After Width: | Height: | Size: 943 B |
BIN
src/megabasterd/icons/icons8-folder-30.png
Normal file
After Width: | Height: | Size: 391 B |
BIN
src/megabasterd/icons/icons8-key-2-30.png
Normal file
After Width: | Height: | Size: 757 B |
BIN
src/megabasterd/icons/icons8-minus-30.png
Normal file
After Width: | Height: | Size: 712 B |
BIN
src/megabasterd/icons/icons8-ok-30.png
Normal file
After Width: | Height: | Size: 980 B |
BIN
src/megabasterd/icons/icons8-plus-30.png
Normal file
After Width: | Height: | Size: 809 B |
BIN
src/megabasterd/icons/icons8-save-all-30.png
Normal file
After Width: | Height: | Size: 826 B |