This commit is contained in:
tonikelope 2018-01-25 23:11:32 +01:00
parent 9d8a3baabc
commit 466a5c015f
9 changed files with 27 additions and 7 deletions

View File

@ -2,6 +2,7 @@ package megabasterd;
import java.io.IOException;
import java.io.InputStream;
import java.net.SocketTimeoutException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.logging.Level;
@ -273,7 +274,9 @@ public class ChunkDownloader implements Runnable, SecureSingleThreadNotifiable {
_download.getProgress_meter().secureNotify();
}
conta_error++;
if (!(ex instanceof SocketTimeoutException)) {
conta_error++;
}
if (!_exit) {

View File

@ -7,6 +7,7 @@ import java.io.OutputStream;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import java.io.RandomAccessFile;
import java.net.SocketTimeoutException;
import java.net.URI;
import java.net.URISyntaxException;
import java.security.InvalidAlgorithmParameterException;
@ -364,7 +365,9 @@ public class ChunkUploader implements Runnable, SecureSingleThreadNotifiable {
_upload.getProgress_meter().secureNotify();
}
conta_error++;
if (!(ex instanceof SocketTimeoutException)) {
conta_error++;
}
if (!_exit) {

View File

@ -4,7 +4,7 @@
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<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"/>
</LineBorder>
</Border>

View File

@ -151,7 +151,7 @@ public final class DownloadView extends javax.swing.JPanel implements Transferen
slot_status_label = new javax.swing.JLabel();
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.setText("status");

View File

@ -48,7 +48,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;
*/
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 DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
public static final int STREAMER_PORT = 1337;

View File

@ -368,6 +368,11 @@
</Events>
</Component>
<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"/>
<SubComponents>
@ -493,6 +498,11 @@
</Events>
</Component>
<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"/>
<SubComponents>

View File

@ -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));
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));
jScrollPane_up.setViewportView(jPanel_scroll_up);

View File

@ -4,7 +4,7 @@
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<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"/>
</LineBorder>
</Border>

View File

@ -124,7 +124,7 @@ public final class UploadView extends javax.swing.JPanel implements Transference
folder_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.setText("status");