mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-04 00:24:32 +02:00
2.90
This commit is contained in:
parent
9d8a3baabc
commit
466a5c015f
@ -2,6 +2,7 @@ package megabasterd;
|
|||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
import java.net.SocketTimeoutException;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.net.URISyntaxException;
|
import java.net.URISyntaxException;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
@ -273,7 +274,9 @@ public class ChunkDownloader implements Runnable, SecureSingleThreadNotifiable {
|
|||||||
_download.getProgress_meter().secureNotify();
|
_download.getProgress_meter().secureNotify();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!(ex instanceof SocketTimeoutException)) {
|
||||||
conta_error++;
|
conta_error++;
|
||||||
|
}
|
||||||
|
|
||||||
if (!_exit) {
|
if (!_exit) {
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ import java.io.OutputStream;
|
|||||||
import java.io.PipedInputStream;
|
import java.io.PipedInputStream;
|
||||||
import java.io.PipedOutputStream;
|
import java.io.PipedOutputStream;
|
||||||
import java.io.RandomAccessFile;
|
import java.io.RandomAccessFile;
|
||||||
|
import java.net.SocketTimeoutException;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.net.URISyntaxException;
|
import java.net.URISyntaxException;
|
||||||
import java.security.InvalidAlgorithmParameterException;
|
import java.security.InvalidAlgorithmParameterException;
|
||||||
@ -364,7 +365,9 @@ public class ChunkUploader implements Runnable, SecureSingleThreadNotifiable {
|
|||||||
_upload.getProgress_meter().secureNotify();
|
_upload.getProgress_meter().secureNotify();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!(ex instanceof SocketTimeoutException)) {
|
||||||
conta_error++;
|
conta_error++;
|
||||||
|
}
|
||||||
|
|
||||||
if (!_exit) {
|
if (!_exit) {
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<Properties>
|
<Properties>
|
||||||
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
||||||
<Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
|
<Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
|
||||||
<LineBorder roundedCorners="true" thickness="4">
|
<LineBorder roundedCorners="true" thickness="3">
|
||||||
<Color PropertyName="color" blue="ff" green="cc" red="99" type="rgb"/>
|
<Color PropertyName="color" blue="ff" green="cc" red="99" type="rgb"/>
|
||||||
</LineBorder>
|
</LineBorder>
|
||||||
</Border>
|
</Border>
|
||||||
|
@ -151,7 +151,7 @@ public final class DownloadView extends javax.swing.JPanel implements Transferen
|
|||||||
slot_status_label = new javax.swing.JLabel();
|
slot_status_label = new javax.swing.JLabel();
|
||||||
open_folder_button = new javax.swing.JButton();
|
open_folder_button = new javax.swing.JButton();
|
||||||
|
|
||||||
setBorder(new javax.swing.border.LineBorder(new java.awt.Color(153, 204, 255), 4, true));
|
setBorder(new javax.swing.border.LineBorder(new java.awt.Color(153, 204, 255), 3, true));
|
||||||
|
|
||||||
status_label.setFont(new java.awt.Font("Dialog", 1, 20)); // NOI18N
|
status_label.setFont(new java.awt.Font("Dialog", 1, 20)); // NOI18N
|
||||||
status_label.setText("status");
|
status_label.setText("status");
|
||||||
|
@ -48,7 +48,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;
|
|||||||
*/
|
*/
|
||||||
public final class MainPanel {
|
public final class MainPanel {
|
||||||
|
|
||||||
public static final String VERSION = "2.89";
|
public static final String VERSION = "2.90";
|
||||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||||
public static final int STREAMER_PORT = 1337;
|
public static final int STREAMER_PORT = 1337;
|
||||||
|
@ -368,6 +368,11 @@
|
|||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Container class="javax.swing.JScrollPane" name="jScrollPane_down">
|
<Container class="javax.swing.JScrollPane" name="jScrollPane_down">
|
||||||
|
<Properties>
|
||||||
|
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
||||||
|
<Border info="null"/>
|
||||||
|
</Property>
|
||||||
|
</Properties>
|
||||||
|
|
||||||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
||||||
<SubComponents>
|
<SubComponents>
|
||||||
@ -493,6 +498,11 @@
|
|||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Container class="javax.swing.JScrollPane" name="jScrollPane_up">
|
<Container class="javax.swing.JScrollPane" name="jScrollPane_up">
|
||||||
|
<Properties>
|
||||||
|
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
||||||
|
<Border info="null"/>
|
||||||
|
</Property>
|
||||||
|
</Properties>
|
||||||
|
|
||||||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
||||||
<SubComponents>
|
<SubComponents>
|
||||||
|
@ -273,6 +273,8 @@ public final class MainPanelView extends javax.swing.JFrame {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
jScrollPane_down.setBorder(null);
|
||||||
|
|
||||||
jPanel_scroll_down.setLayout(new javax.swing.BoxLayout(jPanel_scroll_down, javax.swing.BoxLayout.Y_AXIS));
|
jPanel_scroll_down.setLayout(new javax.swing.BoxLayout(jPanel_scroll_down, javax.swing.BoxLayout.Y_AXIS));
|
||||||
jScrollPane_down.setViewportView(jPanel_scroll_down);
|
jScrollPane_down.setViewportView(jPanel_scroll_down);
|
||||||
|
|
||||||
@ -341,6 +343,8 @@ public final class MainPanelView extends javax.swing.JFrame {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
jScrollPane_up.setBorder(null);
|
||||||
|
|
||||||
jPanel_scroll_up.setLayout(new javax.swing.BoxLayout(jPanel_scroll_up, javax.swing.BoxLayout.Y_AXIS));
|
jPanel_scroll_up.setLayout(new javax.swing.BoxLayout(jPanel_scroll_up, javax.swing.BoxLayout.Y_AXIS));
|
||||||
jScrollPane_up.setViewportView(jPanel_scroll_up);
|
jScrollPane_up.setViewportView(jPanel_scroll_up);
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<Properties>
|
<Properties>
|
||||||
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
||||||
<Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
|
<Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
|
||||||
<LineBorder roundedCorners="true" thickness="4">
|
<LineBorder roundedCorners="true" thickness="3">
|
||||||
<Color PropertyName="color" blue="ff" green="cc" red="99" type="rgb"/>
|
<Color PropertyName="color" blue="ff" green="cc" red="99" type="rgb"/>
|
||||||
</LineBorder>
|
</LineBorder>
|
||||||
</Border>
|
</Border>
|
||||||
|
@ -124,7 +124,7 @@ public final class UploadView extends javax.swing.JPanel implements Transference
|
|||||||
folder_link_button = new javax.swing.JButton();
|
folder_link_button = new javax.swing.JButton();
|
||||||
file_link_button = new javax.swing.JButton();
|
file_link_button = new javax.swing.JButton();
|
||||||
|
|
||||||
setBorder(new javax.swing.border.LineBorder(new java.awt.Color(153, 204, 255), 4, true));
|
setBorder(new javax.swing.border.LineBorder(new java.awt.Color(153, 204, 255), 3, true));
|
||||||
|
|
||||||
status_label.setFont(new java.awt.Font("Dialog", 1, 20)); // NOI18N
|
status_label.setFont(new java.awt.Font("Dialog", 1, 20)); // NOI18N
|
||||||
status_label.setText("status");
|
status_label.setText("status");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user