Maven GO!

master
tonikelope 2018-02-01 12:10:08 +01:00
parent ec40f80b27
commit b4e979b463
111 changed files with 538 additions and 1998 deletions

135
.gitignore vendored
View File

@ -1,13 +1,130 @@
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
*.db
#---------------------------------------#
# Project Ignores #
#---------------------------------------#
# Maven
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
!/.mvn/wrapper/maven-wrapper.jar
# Compiled class file
*.class
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files
*.jar
*.war
*.ear
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
# misc
*.log
log/
logs/
#---------------------------------------#
# IDEs & Editors Ignores #
#---------------------------------------#
# Sublime Text
/*.sublime*
.sublime-gulp.cache
# VS Code
/.vscode
# JetBrains IDEs
.idea/
*.iml
# Eclipse
.project
.classpath
.settings
# Netbeans
nbactions*.xml
nb-configuration*.xml
# BlueJ
*.ctxt
#---------------------------------------#
# General Ignores #
#---------------------------------------#
*~
*.orig
.vagrant
#---------------------------------------#
# Linux Ignores #
#---------------------------------------#
# KDE directory preferences
.directory
#---------------------------------------#
# OSX Ignores #
#---------------------------------------#
.DS_Store
.AppleDouble
.LSOverride
.localized
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
#---------------------------------------#
# Windows Ignores #
#---------------------------------------#
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
#MegaBasterd DB
*.db

View File

@ -1,94 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="MegaBasterd" default="default" basedir=".">
<description>Builds, tests, and runs the project MegaBasterd.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-jar: called before JAR building
-post-jar: called after JAR building
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting an obfuscator after compilation could look like this:
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Another way to customize the build is by overriding existing main targets.
The targets of interest are:
-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar: JAR building
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation
An example of overriding the target for project execution could look like this:
<target name="run" depends="MegaBasterd-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.
-->
<target name="package-for-store" depends="jar">
<property name="store.jar.name" value="MegaBasterd"/>
<property name="store.dir" value="store"/>
<property name="store.jar" value="${store.dir}/${store.jar.name}.jar"/>
<echo message="Packaging ${application.title} into a single JAR at ${store.jar}"/>
<delete dir="${store.dir}"/>
<mkdir dir="${store.dir}"/>
<jar destfile="${store.dir}/temp_final.jar" filesetmanifest="skip">
<zipgroupfileset dir="dist" includes="*.jar"/>
<zipgroupfileset dir="dist/lib" includes="*.jar"/>
<manifest>
<attribute name="Main-Class" value="${main.class}"/>
<attribute name="SplashScreen-Image" value="megabasterd/dot_com.png"/>
</manifest>
</jar>
<zip destfile="${store.jar}">
<zipfileset src="${store.dir}/temp_final.jar"
excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA, megabasterd/screenshot*.png"/>
</zip>
<delete file="${store.dir}/temp_final.jar"/>
</target>
</project>

BIN
lib.zip

Binary file not shown.

View File

@ -1,4 +0,0 @@
Manifest-Version: 1.0
SplashScreen-Image: megabasterd/dot_com.png
X-COMMENT: Main-Class will be added automatically by build

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
build.xml.data.CRC32=71569f25
build.xml.script.CRC32=cf2d2409
build.xml.stylesheet.CRC32=8064a381@1.75.2.48
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=84d88617
nbproject/build-impl.xml.script.CRC32=98c0e417
nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48

View File

@ -1,103 +0,0 @@
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
application.title=MegaBasterd
application.vendor=tonikelope
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
# Only compile against the classpath explicitly listed here:
build.sysclasspath=ignore
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
# Uncomment to specify the preferred debugger connection transport:
#debug.transport=dt_socket
debug.classpath=\
${run.classpath}
debug.test.classpath=\
${run.test.classpath}
# Files in build.classes.dir which should be excluded from distribution jar
dist.archive.excludes=
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/MegaBasterd.jar
dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath=
excludes=
file.reference.jackson-core-asl-1.9.13.jar=jackson-core-asl-1.9.13.jar
file.reference.jackson-mapper-asl-1.9.13.jar=jackson-mapper-asl-1.9.13.jar
file.reference.sqlite-jdbc-3.8.11.2.jar=sqlite-jdbc-3.8.11.2.jar
includes=**
jar.archive.disabled=${jnlp.enabled}
jar.compress=false
jar.index=${jnlp.enabled}
javac.classpath=\
${file.reference.sqlite-jdbc-3.8.11.2.jar}:\
${file.reference.jackson-core-asl-1.9.13.jar}:\
${file.reference.jackson-mapper-asl-1.9.13.jar}:\
${libs.ApacheHttpClient.classpath}:\
${libs.absolutelayout.classpath}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.external.vm=false
javac.processorpath=\
${javac.classpath}
javac.source=1.7
javac.target=1.7
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
javac.test.processorpath=\
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
jnlp.codebase.type=no.codebase
jnlp.descriptor=application
jnlp.enabled=false
jnlp.mixed.code=default
jnlp.offline-allowed=false
jnlp.signed=false
jnlp.signing=
jnlp.signing.alias=
jnlp.signing.keystore=
main.class=megabasterd.MainPanel
# Optional override of default Application-Library-Allowable-Codebase attribute identifying the locations where your signed RIA is expected to be found.
manifest.custom.application.library.allowable.codebase=
# Optional override of default Caller-Allowable-Codebase attribute identifying the domains from which JavaScript code can make calls to your RIA without security prompts.
manifest.custom.caller.allowable.codebase=
# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed
manifest.custom.codebase=
# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions)
manifest.custom.permissions=
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
platform.active=default_platform
run.classpath=\
${javac.classpath}:\
${build.classes.dir}
# Space-separated list of JVM arguments used when running the project.
# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
# To set system properties for unit tests define test-sys-prop.name=value:
run.jvmargs=-splash:src/megabasterd/dot_com.png -Djava.util.logging.ConsoleHandler.level=INFO
run.test.classpath=\
${javac.test.classpath}:\
${build.test.classes.dir}
source.encoding=UTF-8
src.dir=src
test.src.dir=test

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>MegaBasterd</name>
<source-roots>
<root id="src.dir"/>
</source-roots>
<test-roots>
<root id="test.src.dir"/>
</test-roots>
</data>
</configuration>
</project>

65
pom.xml Normal file
View File

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.tonikelope</groupId>
<artifactId>MegaBasterd</artifactId>
<version>2.91</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.5</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>1.9.13</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.13</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.21.0.1</version>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>com.tonikelope.megabasterd.MainPanel</mainClass>
</manifest>
<manifestEntries>
<SplashScreen-Image>images/dot_com.png</SplashScreen-Image>
</manifestEntries>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-my-jar-with-dependencies</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -39,7 +39,7 @@
<Group type="102" alignment="0" attributes="0">
<Component id="made_in_spain_label" max="-2" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
<Component id="dot_com_label" min="-2" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
@ -77,7 +77,7 @@
<EmptySpace type="separate" max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="made_in_spain_label" min="-2" max="-2" attributes="0"/>
<Component id="jLabel1" alignment="1" min="-2" max="-2" attributes="0"/>
<Component id="dot_com_label" alignment="1" min="-2" max="-2" attributes="0"/>
<Group type="102" alignment="1" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="pica_roja_label" alignment="1" min="-2" max="-2" attributes="0"/>
@ -113,7 +113,7 @@
<Component class="javax.swing.JLabel" name="made_in_spain_label">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/made_in_spain.jpg"/>
<Image iconType="3" name="/images/made_in_spain.jpg"/>
</Property>
<Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
<Color id="Cursor de Mano"/>
@ -139,7 +139,7 @@
<Component class="javax.swing.JLabel" name="mc_logo_label">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/mega_crypter.png"/>
<Image iconType="3" name="/images/mega_crypter.png"/>
</Property>
<Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
<Color id="Cursor de Mano"/>
@ -156,7 +156,7 @@
<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-copy-to-clipboard-30.png"/>
<Image iconType="3" name="/images/icons8-copy-to-clipboard-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Copy MegaBasterd download URL"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -186,7 +186,7 @@
<Component class="javax.swing.JLabel" name="pica_roja_label">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/pica_roja_big.png"/>
<Image iconType="3" name="/images/pica_roja_big.png"/>
</Property>
<Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
<Color id="Cursor de Mano"/>
@ -203,7 +203,7 @@
<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-restart-30.png"/>
<Image iconType="3" name="/images/icons8-restart-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Check version"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -212,10 +212,10 @@
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_version_buttonActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="jLabel1">
<Component class="javax.swing.JLabel" name="dot_com_label">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/dot_com2.png"/>
<Image iconType="3" name="/images/dot_com2.png"/>
</Property>
</Properties>
</Component>

View File

@ -1,9 +1,9 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Dialog;
import javax.swing.JOptionPane;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*
@ -45,7 +45,7 @@ public final class AboutDialog extends javax.swing.JDialog {
author_webpage_label = new javax.swing.JLabel();
pica_roja_label = new javax.swing.JLabel();
check_version_button = new javax.swing.JButton();
jLabel1 = new javax.swing.JLabel();
dot_com_label = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setTitle("About");
@ -62,7 +62,7 @@ public final class AboutDialog extends javax.swing.JDialog {
}
});
made_in_spain_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/made_in_spain.jpg"))); // NOI18N
made_in_spain_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/made_in_spain.jpg"))); // NOI18N
made_in_spain_label.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
made_in_spain_label.setDoubleBuffered(true);
made_in_spain_label.addMouseListener(new java.awt.event.MouseAdapter() {
@ -76,7 +76,7 @@ public final class AboutDialog extends javax.swing.JDialog {
subtitle_label.setText("Yet another (unofficial) 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
mc_logo_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/mega_crypter.png"))); // NOI18N
mc_logo_label.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
mc_logo_label.setDoubleBuffered(true);
mc_logo_label.addMouseListener(new java.awt.event.MouseAdapter() {
@ -86,7 +86,7 @@ public final class AboutDialog extends javax.swing.JDialog {
});
mcdown_url_button.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
mcdown_url_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-copy-to-clipboard-30.png"))); // NOI18N
mcdown_url_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-copy-to-clipboard-30.png"))); // NOI18N
mcdown_url_button.setText("Copy MegaBasterd download URL");
mcdown_url_button.setDoubleBuffered(true);
mcdown_url_button.addActionListener(new java.awt.event.ActionListener() {
@ -106,7 +106,7 @@ public final class AboutDialog extends javax.swing.JDialog {
}
});
pica_roja_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/pica_roja_big.png"))); // NOI18N
pica_roja_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/pica_roja_big.png"))); // NOI18N
pica_roja_label.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
pica_roja_label.setDoubleBuffered(true);
pica_roja_label.addMouseListener(new java.awt.event.MouseAdapter() {
@ -116,7 +116,7 @@ public final class AboutDialog extends javax.swing.JDialog {
});
check_version_button.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
check_version_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-restart-30.png"))); // NOI18N
check_version_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-restart-30.png"))); // NOI18N
check_version_button.setText("Check version");
check_version_button.setDoubleBuffered(true);
check_version_button.addActionListener(new java.awt.event.ActionListener() {
@ -125,7 +125,7 @@ public final class AboutDialog extends javax.swing.JDialog {
}
});
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/dot_com2.png"))); // NOI18N
dot_com_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/dot_com2.png"))); // NOI18N
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
@ -141,7 +141,7 @@ public final class AboutDialog extends javax.swing.JDialog {
.addGroup(layout.createSequentialGroup()
.addComponent(made_in_spain_label)
.addGap(18, 18, 18)
.addComponent(jLabel1)
.addComponent(dot_com_label)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
@ -170,7 +170,7 @@ public final class AboutDialog extends javax.swing.JDialog {
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(made_in_spain_label)
.addComponent(jLabel1)
.addComponent(dot_com_label)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(pica_roja_label, javax.swing.GroupLayout.Alignment.TRAILING)
@ -251,7 +251,7 @@ public final class AboutDialog extends javax.swing.JDialog {
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JLabel author_webpage_label;
private javax.swing.JButton check_version_button;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel dot_com_label;
private javax.swing.JLabel made_in_spain_label;
private javax.swing.JLabel mc_logo_label;
private javax.swing.JButton mcdown_url_button;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.IOException;
import java.io.InputStream;
@ -7,8 +7,8 @@ import java.net.URI;
import java.net.URISyntaxException;
import java.util.logging.Level;
import java.util.logging.Logger;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.IOException;
import java.io.InputStream;
@ -6,8 +6,8 @@ import java.net.URI;
import java.net.URISyntaxException;
import java.util.logging.Level;
import java.util.logging.Logger;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
@ -21,14 +21,14 @@ import java.util.logging.Level;
import java.util.logging.Logger;
import javax.crypto.CipherInputStream;
import javax.crypto.NoSuchPaddingException;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static megabasterd.CryptTools.*;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.InputStreamEntity;
import org.apache.http.impl.client.CloseableHttpClient;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.CryptTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
@ -20,9 +20,9 @@ import java.util.logging.Level;
import java.util.logging.Logger;
import javax.crypto.CipherInputStream;
import javax.crypto.NoSuchPaddingException;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static megabasterd.CryptTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.CryptTools.*;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.IOException;
import java.security.InvalidAlgorithmParameterException;
@ -10,7 +10,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
import javax.crypto.CipherInputStream;
import javax.crypto.NoSuchPaddingException;
import static megabasterd.CryptTools.*;
import static com.tonikelope.megabasterd.CryptTools.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.datatransfer.Transferable;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import static java.awt.Toolkit.getDefaultToolkit;
import java.awt.datatransfer.Clipboard;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.util.HashMap;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Toolkit;
import java.awt.datatransfer.DataFlavor;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
@ -30,7 +30,7 @@ import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.PBEKeySpec;
import javax.crypto.spec.SecretKeySpec;
import javax.swing.JOptionPane;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.CloseableHttpResponse;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.sql.Connection;
import java.sql.PreparedStatement;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.BufferedOutputStream;
import java.io.File;
@ -31,11 +31,10 @@ import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import javax.swing.JComponent;
import static megabasterd.MiscTools.*;
import static megabasterd.CryptTools.*;
import static megabasterd.DBTools.*;
import static megabasterd.MainPanel.*;
import static megabasterd.Transference.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.CryptTools.*;
import static com.tonikelope.megabasterd.DBTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*
@ -792,7 +791,7 @@ public final class Download implements Transference, Runnable, SecureSingleThrea
} else {
getView().getClose_button().setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-ok-30.png")));
getView().getClose_button().setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-ok-30.png")));
}
}
});

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Component;
import java.sql.SQLException;
@ -6,9 +6,9 @@ import java.util.ArrayList;
import java.util.logging.Level;
import static java.util.logging.Level.SEVERE;
import java.util.logging.Logger;
import static megabasterd.DBTools.*;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.swingInvoke;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.DBTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*

View File

@ -225,7 +225,7 @@
<Font name="Dialog" size="16" 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"/>
<Image iconType="3" name="/images/icons8-cancel-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Close"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -240,7 +240,7 @@
<Font name="Dialog" size="16" style="1"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-copy-to-clipboard-30.png"/>
<Image iconType="3" name="/images/icons8-copy-to-clipboard-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Copy link"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -255,7 +255,7 @@
<Font name="Dialog" size="16" style="1"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-restart-30.png"/>
<Image iconType="3" name="/images/icons8-restart-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Restart"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -291,7 +291,7 @@
<Font name="Dialog" size="16" 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"/>
<Image iconType="3" name="/images/icons8-folder-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Open folder"/>
<Property name="doubleBuffered" type="boolean" value="true"/>

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Color;
import java.awt.Desktop;
@ -14,8 +14,8 @@ import javax.swing.JOptionPane;
import javax.swing.JProgressBar;
import javax.swing.JSpinner;
import javax.swing.SpinnerNumberModel;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*
@ -211,7 +211,7 @@ public final class DownloadView extends javax.swing.JPanel implements Transferen
file_name_label.setDoubleBuffered(true);
close_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
close_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-cancel-30.png"))); // NOI18N
close_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-cancel-30.png"))); // NOI18N
close_button.setText("Close");
close_button.setDoubleBuffered(true);
close_button.addActionListener(new java.awt.event.ActionListener() {
@ -221,7 +221,7 @@ public final class DownloadView extends javax.swing.JPanel implements Transferen
});
copy_link_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
copy_link_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-copy-to-clipboard-30.png"))); // NOI18N
copy_link_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-copy-to-clipboard-30.png"))); // NOI18N
copy_link_button.setText("Copy link");
copy_link_button.setDoubleBuffered(true);
copy_link_button.addActionListener(new java.awt.event.ActionListener() {
@ -231,7 +231,7 @@ public final class DownloadView extends javax.swing.JPanel implements Transferen
});
restart_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
restart_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-restart-30.png"))); // NOI18N
restart_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-restart-30.png"))); // NOI18N
restart_button.setText("Restart");
restart_button.setDoubleBuffered(true);
restart_button.addActionListener(new java.awt.event.ActionListener() {
@ -250,7 +250,7 @@ public final class DownloadView extends javax.swing.JPanel implements Transferen
slot_status_label.setDoubleBuffered(true);
open_folder_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
open_folder_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-folder-30.png"))); // NOI18N
open_folder_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-folder-30.png"))); // NOI18N
open_folder_button.setText("Open folder");
open_folder_button.setDoubleBuffered(true);
open_folder_button.addActionListener(new java.awt.event.ActionListener() {

View File

@ -86,7 +86,7 @@
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="file_tree_scrollpane" alignment="0" pref="227" max="32767" attributes="0"/>
<Component id="file_tree_scrollpane" alignment="0" pref="224" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
</Layout>
@ -236,7 +236,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-add-folder-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Add folder"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -252,7 +252,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-add-file-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Add files"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -309,7 +309,7 @@
<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-trash-can-30.png"/>
<Image iconType="3" name="/images/icons8-trash-can-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="REMOVE ALL EXCEPT THIS"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -325,7 +325,7 @@
<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-trash-can-30.png"/>
<Image iconType="3" name="/images/icons8-trash-can-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="REMOVE THIS"/>
<Property name="doubleBuffered" type="boolean" value="true"/>

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Color;
import java.awt.Dialog;
@ -12,8 +12,8 @@ import javax.swing.JTextField;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeModel;
import javax.swing.tree.TreeNode;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*
@ -146,7 +146,7 @@ public final class FileGrabberDialog extends javax.swing.JDialog {
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(file_tree_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 227, Short.MAX_VALUE)
.addComponent(file_tree_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 224, Short.MAX_VALUE)
);
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Upload info"));
@ -179,7 +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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-add-folder-30.png"))); // NOI18N
add_folder_button.setText("Add folder");
add_folder_button.setDoubleBuffered(true);
add_folder_button.setEnabled(false);
@ -190,7 +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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-add-file-30.png"))); // NOI18N
add_files_button.setText("Add files");
add_files_button.setDoubleBuffered(true);
add_files_button.setEnabled(false);
@ -263,7 +263,7 @@ public final class FileGrabberDialog extends javax.swing.JDialog {
warning_label.setEnabled(false);
skip_rest_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
skip_rest_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-trash-can-30.png"))); // NOI18N
skip_rest_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-trash-can-30.png"))); // NOI18N
skip_rest_button.setText("REMOVE ALL EXCEPT THIS");
skip_rest_button.setDoubleBuffered(true);
skip_rest_button.setEnabled(false);
@ -274,7 +274,7 @@ public final class FileGrabberDialog extends javax.swing.JDialog {
});
skip_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
skip_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-trash-can-30.png"))); // NOI18N
skip_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-trash-can-30.png"))); // NOI18N
skip_button.setText("REMOVE THIS");
skip_button.setDoubleBuffered(true);
skip_button.setEnabled(false);

View File

@ -72,7 +72,7 @@
<Component id="restore_button" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="file_tree_scrollpane" pref="331" max="32767" attributes="0"/>
<Component id="file_tree_scrollpane" pref="317" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="total_space_label" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
@ -113,7 +113,7 @@
<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-trash-can-30.png"/>
<Image iconType="3" name="/images/icons8-trash-can-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="REMOVE THIS"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -129,7 +129,7 @@
<Font name="Dialog" size="24" 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"/>
<Image iconType="3" name="/images/icons8-folder-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Folder link detected!"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -179,7 +179,7 @@
<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-trash-can-30.png"/>
<Image iconType="3" name="/images/icons8-trash-can-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="REMOVE ALL EXCEPT THIS"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -195,7 +195,7 @@
<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-undelete-30.png"/>
<Image iconType="3" name="/images/icons8-undelete-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Restore folder data"/>
<Property name="doubleBuffered" type="boolean" value="true"/>

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.util.ArrayList;
import java.util.Collections;
@ -11,8 +11,8 @@ import java.util.logging.Logger;
import javax.swing.JComponent;
import javax.swing.tree.DefaultTreeModel;
import javax.swing.tree.TreeNode;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*
@ -107,7 +107,7 @@ public final class FolderLinkDialog extends javax.swing.JDialog {
file_tree_scrollpane.setViewportView(file_tree);
skip_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
skip_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-trash-can-30.png"))); // NOI18N
skip_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-trash-can-30.png"))); // NOI18N
skip_button.setText("REMOVE THIS");
skip_button.setDoubleBuffered(true);
skip_button.setEnabled(false);
@ -118,7 +118,7 @@ public final class FolderLinkDialog extends javax.swing.JDialog {
});
link_detected_label.setFont(new java.awt.Font("Dialog", 1, 24)); // NOI18N
link_detected_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-folder-30.png"))); // NOI18N
link_detected_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-folder-30.png"))); // NOI18N
link_detected_label.setText("Folder link detected!");
link_detected_label.setDoubleBuffered(true);
@ -144,7 +144,7 @@ public final class FolderLinkDialog extends javax.swing.JDialog {
warning_label.setEnabled(false);
skip_rest_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
skip_rest_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-trash-can-30.png"))); // NOI18N
skip_rest_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-trash-can-30.png"))); // NOI18N
skip_rest_button.setText("REMOVE ALL EXCEPT THIS");
skip_rest_button.setDoubleBuffered(true);
skip_rest_button.setEnabled(false);
@ -155,7 +155,7 @@ public final class FolderLinkDialog extends javax.swing.JDialog {
});
restore_button.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
restore_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-undelete-30.png"))); // NOI18N
restore_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-undelete-30.png"))); // NOI18N
restore_button.setText("Restore folder data");
restore_button.setDoubleBuffered(true);
restore_button.addActionListener(new java.awt.event.ActionListener() {
@ -212,7 +212,7 @@ public final class FolderLinkDialog extends javax.swing.JDialog {
.addComponent(folder_link_label)
.addComponent(restore_button))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(file_tree_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 331, Short.MAX_VALUE)
.addComponent(file_tree_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 317, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(total_space_label)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)

View File

@ -98,6 +98,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="/images/icons8-cancel-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="CANCEL"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
</Properties>
@ -110,6 +113,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="/images/icons8-ok-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="OK"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
</Properties>
@ -120,7 +126,7 @@
<Component class="javax.swing.JLabel" name="lock_label">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/lock_medium.png"/>
<Image iconType="3" name="/images/lock_medium.png"/>
</Property>
<Property name="doubleBuffered" type="boolean" value="true"/>
</Properties>

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Dialog;
import java.awt.HeadlessException;
@ -11,8 +11,8 @@ import java.util.logging.Logger;
import javax.swing.JCheckBox;
import javax.swing.JOptionPane;
import javax.swing.JPasswordField;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*
@ -106,6 +106,7 @@ public class GetMasterPasswordDialog extends javax.swing.JDialog {
});
cancel_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
cancel_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-cancel-30.png"))); // NOI18N
cancel_button.setText("CANCEL");
cancel_button.setDoubleBuffered(true);
cancel_button.addActionListener(new java.awt.event.ActionListener() {
@ -115,6 +116,7 @@ public class GetMasterPasswordDialog extends javax.swing.JDialog {
});
ok_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
ok_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-ok-30.png"))); // NOI18N
ok_button.setText("OK");
ok_button.setDoubleBuffered(true);
ok_button.addActionListener(new java.awt.event.ActionListener() {
@ -123,7 +125,7 @@ public class GetMasterPasswordDialog extends javax.swing.JDialog {
}
});
lock_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/lock_medium.png"))); // NOI18N
lock_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/lock_medium.png"))); // NOI18N
lock_label.setDoubleBuffered(true);
please_label.setFont(new java.awt.Font("Dialog", 1, 24)); // NOI18N

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.util.HashMap;
import java.util.Map;
@ -7,7 +7,7 @@ import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JLabel;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import com.sun.net.httpserver.Headers;
import com.sun.net.httpserver.HttpExchange;
@ -23,8 +23,8 @@ import java.util.logging.Logger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.crypto.CipherInputStream;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;

View File

@ -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="329" max="32767" attributes="0"/>
<Component id="download_dir_label" pref="295" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="dance_button" min="-2" max="-2" attributes="0"/>
</Group>
@ -61,7 +61,7 @@
<Component id="dlc_button" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="links_scrollpane" pref="330" max="32767" attributes="0"/>
<Component id="links_scrollpane" pref="314" 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"/>
@ -135,7 +135,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-folder-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Change it"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -167,7 +167,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-add-file-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Load DLC container"/>
</Properties>

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.ByteArrayOutputStream;
import java.io.File;
@ -14,8 +14,8 @@ import javax.swing.JComboBox;
import javax.swing.JFileChooser;
import javax.swing.JTextArea;
import javax.swing.filechooser.FileNameExtensionFilter;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*
@ -144,7 +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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/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() {
@ -161,7 +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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/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) {
@ -192,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, 329, Short.MAX_VALUE)
.addComponent(download_dir_label, javax.swing.GroupLayout.DEFAULT_SIZE, 295, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(dance_button))
.addGroup(layout.createSequentialGroup()
@ -213,7 +213,7 @@ 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, 330, Short.MAX_VALUE)
.addComponent(links_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 314, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(use_mega_account_down_label)

View File

@ -1,19 +1,9 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.AWTException;
import java.awt.Color;
import static java.awt.EventQueue.invokeLater;
import java.awt.Font;
import static java.awt.Frame.NORMAL;
import java.awt.MenuItem;
import java.awt.PopupMenu;
import static java.awt.SystemTray.getSystemTray;
import static java.awt.Toolkit.getDefaultToolkit;
import java.awt.TrayIcon;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowEvent;
import static java.awt.event.WindowEvent.WINDOW_CLOSING;
import java.io.IOException;
import static java.lang.Integer.parseInt;
import static java.lang.System.exit;
@ -36,9 +26,19 @@ import static javax.swing.JOptionPane.WARNING_MESSAGE;
import static javax.swing.JOptionPane.YES_NO_CANCEL_OPTION;
import static javax.swing.JOptionPane.showOptionDialog;
import javax.swing.UIManager;
import static megabasterd.DBTools.*;
import static megabasterd.MiscTools.*;
import static megabasterd.Transference.*;
import static com.tonikelope.megabasterd.DBTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.Transference.*;
import java.awt.AWTException;
import java.awt.MenuItem;
import java.awt.PopupMenu;
import static java.awt.SystemTray.getSystemTray;
import static java.awt.Toolkit.getDefaultToolkit;
import java.awt.TrayIcon;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowEvent;
import static java.awt.event.WindowEvent.WINDOW_CLOSING;
import org.apache.http.auth.Credentials;
import org.apache.http.auth.UsernamePasswordCredentials;
@ -48,16 +48,16 @@ import org.apache.http.auth.UsernamePasswordCredentials;
*/
public final class MainPanel {
public static final String VERSION = "2.90";
public static final String VERSION = "2.91";
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;
public static final int WATCHDOG_PORT = 1338;
public static final int DEFAULT_MEGA_PROXY_PORT = 9999;
public static final Font DEFAULT_FONT = createAndRegisterFont("Itim-Regular.ttf");
public static final Font DEFAULT_FONT = createAndRegisterFont("/fonts/Itim-Regular.ttf");
public static final float ZOOM_FACTOR = 1.0f;
public static final String DEFAULT_USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0";
public static final String ICON_FILE = "mbasterd_med.png";
public static final String ICON_FILE = "/images/mbasterd_32.png";
public static final ExecutorService THREAD_POOL = newCachedThreadPool();
private static String _proxy_host;
private static int _proxy_port;
@ -159,11 +159,9 @@ public final class MainPanel {
}
try {
trayIcon();
} catch (AWTException ex) {
Logger.getLogger(MainPanel.class.getName()).log(SEVERE, null, ex);
Logger.getLogger(MainPanel.class.getName()).log(Level.SEVERE, null, ex);
}
THREAD_POOL.execute((_download_manager = new DownloadManager(this)));
@ -839,94 +837,91 @@ public final class MainPanel {
}
public boolean trayIcon() throws AWTException {
public void trayIcon() throws AWTException {
if (!java.awt.SystemTray.isSupported()) {
if (java.awt.SystemTray.isSupported()) {
return false;
}
PopupMenu menu = new PopupMenu();
PopupMenu menu = new PopupMenu();
MenuItem messageItem = new MenuItem("Restore window");
MenuItem messageItem = new MenuItem("Restore window");
messageItem.addActionListener(new ActionListener() {
messageItem.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
@Override
public void actionPerformed(ActionEvent e) {
swingInvoke(
new Runnable() {
@Override
public void run() {
swingInvoke(
new Runnable() {
@Override
public void run() {
getView().setExtendedState(NORMAL);
getView().setVisible(true);
getView().revalidate();
getView().repaint();
}
});
}
});
menu.add(messageItem);
MenuItem closeItem = new MenuItem("EXIT");
closeItem.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
byebye();
}
});
menu.add(closeItem);
ActionListener actionListener = new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
swingInvoke(
new Runnable() {
@Override
public void run() {
if (!getView().isVisible()) {
getView().setExtendedState(NORMAL);
getView().setVisible(true);
getView().revalidate();
getView().repaint();
} else {
getView().dispatchEvent(new WindowEvent(getView(), WINDOW_CLOSING));
}
}
});
});
}
};
}
});
_trayicon = new TrayIcon(getDefaultToolkit().getImage(getClass().getResource(ICON_FILE)), "MegaBasterd", menu);
menu.add(messageItem);
_trayicon.setToolTip("MegaBasterd " + VERSION);
MenuItem closeItem = new MenuItem("EXIT");
_trayicon.setImageAutoSize(true);
closeItem.addActionListener(new ActionListener() {
_trayicon.addActionListener(actionListener);
@Override
public void actionPerformed(ActionEvent e) {
getSystemTray().add(_trayicon);
byebye();
return true;
}
});
menu.add(closeItem);
ActionListener actionListener = new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
swingInvoke(
new Runnable() {
@Override
public void run() {
if (!getView().isVisible()) {
getView().setExtendedState(NORMAL);
getView().setVisible(true);
getView().revalidate();
getView().repaint();
} else {
getView().dispatchEvent(new WindowEvent(getView(), WINDOW_CLOSING));
}
}
});
}
};
_trayicon = new TrayIcon(getDefaultToolkit().getImage(getClass().getResource(ICON_FILE)), "MegaBasterd", menu);
_trayicon.setToolTip("MegaBasterd " + VERSION);
_trayicon.setImageAutoSize(true);
_trayicon.addActionListener(actionListener);
getSystemTray().add(_trayicon);
}
}

View File

@ -19,7 +19,7 @@
<Font name="Dialog" size="18" style="0"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-download-from-ftp-30.png"/>
<Image iconType="3" name="/images/icons8-download-from-ftp-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="New download"/>
</Properties>
@ -33,7 +33,7 @@
<Font name="Dialog" size="18" style="0"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-upload-to-ftp-30.png"/>
<Image iconType="3" name="/images/icons8-upload-to-ftp-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="New upload"/>
</Properties>
@ -47,7 +47,7 @@
<Font name="Dialog" size="18" style="0"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-video-playlist-30.png"/>
<Image iconType="3" name="/images/icons8-video-playlist-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="New stream"/>
</Properties>
@ -63,7 +63,7 @@
<Font name="Dialog" size="18" style="0"/>
</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"/>
<Image iconType="3" name="/images/icons8-trash-can-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Remove all no running downloads"/>
</Properties>
@ -77,7 +77,7 @@
<Font name="Dialog" size="18" style="0"/>
</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"/>
<Image iconType="3" name="/images/icons8-trash-can-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Remove all no running uploads"/>
</Properties>
@ -104,7 +104,7 @@
<Font name="Dialog" size="18" style="0"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-shutdown-30.png"/>
<Image iconType="3" name="/images/icons8-shutdown-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Exit"/>
</Properties>
@ -129,7 +129,7 @@
<Font name="Dialog" size="18" style="0"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-services-30.png"/>
<Image iconType="3" name="/images/icons8-services-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Settings"/>
</Properties>
@ -233,7 +233,7 @@
<Component class="javax.swing.JLabel" name="logo_label">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/mbasterd_logo_nuevo.png"/>
<Image iconType="3" name="/images/mbasterd_logo_nuevo.png"/>
</Property>
<Property name="doubleBuffered" type="boolean" value="true"/>
</Properties>
@ -286,7 +286,7 @@
<JTabbedPaneConstraints tabName="Downloads">
<Property name="tabTitle" type="java.lang.String" value="Downloads"/>
<Property name="tabIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-download-from-ftp-30.png"/>
<Image iconType="3" name="/images/icons8-download-from-ftp-30.png"/>
</Property>
</JTabbedPaneConstraints>
</Constraint>
@ -319,7 +319,7 @@
<Component id="status_down_label" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane_down" pref="337" max="32767" attributes="0"/>
<Component id="jScrollPane_down" pref="321" max="32767" attributes="0"/>
<EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/>
<Component id="down_remtime_label" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
@ -358,7 +358,7 @@
<Font name="Dialog" size="16" style="1"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-ok-30.png"/>
<Image iconType="3" name="/images/icons8-ok-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Close all OK finished"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -417,7 +417,7 @@
<JTabbedPaneConstraints tabName="Uploads">
<Property name="tabTitle" type="java.lang.String" value="Uploads"/>
<Property name="tabIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-upload-to-ftp-30.png"/>
<Image iconType="3" name="/images/icons8-upload-to-ftp-30.png"/>
</Property>
</JTabbedPaneConstraints>
</Constraint>
@ -450,7 +450,7 @@
<Component id="status_up_label" alignment="0" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane_up" pref="337" max="32767" attributes="0"/>
<Component id="jScrollPane_up" pref="321" max="32767" attributes="0"/>
<EmptySpace type="unrelated" min="-2" max="-2" attributes="0"/>
<Component id="up_remtime_label" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
@ -488,7 +488,7 @@
<Font name="Dialog" size="16" style="1"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-ok-30.png"/>
<Image iconType="3" name="/images/icons8-ok-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Close all OK finished"/>
<Property name="doubleBuffered" type="boolean" value="true"/>

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Color;
import java.awt.event.WindowEvent;
@ -26,12 +26,12 @@ import javax.swing.JOptionPane;
import static javax.swing.JOptionPane.QUESTION_MESSAGE;
import static javax.swing.JOptionPane.YES_NO_CANCEL_OPTION;
import static javax.swing.JOptionPane.showOptionDialog;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.CryptTools.*;
import static com.tonikelope.megabasterd.DBTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import static megabasterd.CryptTools.*;
import static megabasterd.DBTools.*;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
/**
*
@ -238,7 +238,7 @@ public final class MainPanelView extends javax.swing.JFrame {
setTitle("MegaBasterd " + VERSION);
setIconImage(new ImageIcon(getClass().getResource(ICON_FILE)).getImage());
logo_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/mbasterd_logo_nuevo.png"))); // NOI18N
logo_label.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/mbasterd_logo_nuevo.png"))); // NOI18N
logo_label.setDoubleBuffered(true);
kiss_server_status.setFont(new java.awt.Font("Dialog", 2, 14)); // NOI18N
@ -264,7 +264,7 @@ public final class MainPanelView extends javax.swing.JFrame {
status_down_label.setDoubleBuffered(true);
close_all_finished_down_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
close_all_finished_down_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-ok-30.png"))); // NOI18N
close_all_finished_down_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-ok-30.png"))); // NOI18N
close_all_finished_down_button.setText("Close all OK finished");
close_all_finished_down_button.setDoubleBuffered(true);
close_all_finished_down_button.addActionListener(new java.awt.event.ActionListener() {
@ -315,7 +315,7 @@ public final class MainPanelView extends javax.swing.JFrame {
.addComponent(close_all_finished_down_button, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(status_down_label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane_down, javax.swing.GroupLayout.DEFAULT_SIZE, 337, Short.MAX_VALUE)
.addComponent(jScrollPane_down, javax.swing.GroupLayout.DEFAULT_SIZE, 321, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(down_remtime_label)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
@ -324,7 +324,7 @@ public final class MainPanelView extends javax.swing.JFrame {
.addComponent(pause_all_down_button)))
);
jTabbedPane1.addTab("Downloads", new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-download-from-ftp-30.png")), downloads_panel); // NOI18N
jTabbedPane1.addTab("Downloads", new javax.swing.ImageIcon(getClass().getResource("/images/icons8-download-from-ftp-30.png")), downloads_panel); // NOI18N
global_speed_up_label.setFont(new java.awt.Font("Dialog", 1, 54)); // NOI18N
global_speed_up_label.setText("Speed");
@ -334,7 +334,7 @@ public final class MainPanelView extends javax.swing.JFrame {
status_up_label.setForeground(new java.awt.Color(102, 102, 102));
close_all_finished_up_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
close_all_finished_up_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-ok-30.png"))); // NOI18N
close_all_finished_up_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-ok-30.png"))); // NOI18N
close_all_finished_up_button.setText("Close all OK finished");
close_all_finished_up_button.setDoubleBuffered(true);
close_all_finished_up_button.addActionListener(new java.awt.event.ActionListener() {
@ -385,7 +385,7 @@ public final class MainPanelView extends javax.swing.JFrame {
.addComponent(close_all_finished_up_button, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(status_up_label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane_up, javax.swing.GroupLayout.DEFAULT_SIZE, 337, Short.MAX_VALUE)
.addComponent(jScrollPane_up, javax.swing.GroupLayout.DEFAULT_SIZE, 321, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(up_remtime_label)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
@ -394,14 +394,14 @@ public final class MainPanelView extends javax.swing.JFrame {
.addComponent(pause_all_up_button)))
);
jTabbedPane1.addTab("Uploads", new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-upload-to-ftp-30.png")), uploads_panel); // NOI18N
jTabbedPane1.addTab("Uploads", new javax.swing.ImageIcon(getClass().getResource("/images/icons8-upload-to-ftp-30.png")), uploads_panel); // NOI18N
file_menu.setText("File");
file_menu.setDoubleBuffered(true);
file_menu.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
new_download_menu.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
new_download_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-download-from-ftp-30.png"))); // NOI18N
new_download_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-download-from-ftp-30.png"))); // NOI18N
new_download_menu.setText("New download");
new_download_menu.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -411,7 +411,7 @@ public final class MainPanelView extends javax.swing.JFrame {
file_menu.add(new_download_menu);
new_upload_menu.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
new_upload_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-upload-to-ftp-30.png"))); // NOI18N
new_upload_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-upload-to-ftp-30.png"))); // NOI18N
new_upload_menu.setText("New upload");
new_upload_menu.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -421,7 +421,7 @@ public final class MainPanelView extends javax.swing.JFrame {
file_menu.add(new_upload_menu);
new_stream_menu.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
new_stream_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-video-playlist-30.png"))); // NOI18N
new_stream_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-video-playlist-30.png"))); // NOI18N
new_stream_menu.setText("New stream");
new_stream_menu.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -432,7 +432,7 @@ public final class MainPanelView extends javax.swing.JFrame {
file_menu.add(jSeparator4);
clean_all_down_menu.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
clean_all_down_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-trash-can-30.png"))); // NOI18N
clean_all_down_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-trash-can-30.png"))); // NOI18N
clean_all_down_menu.setText("Remove all no running downloads");
clean_all_down_menu.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -442,7 +442,7 @@ public final class MainPanelView extends javax.swing.JFrame {
file_menu.add(clean_all_down_menu);
clean_all_up_menu.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
clean_all_up_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-trash-can-30.png"))); // NOI18N
clean_all_up_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-trash-can-30.png"))); // NOI18N
clean_all_up_menu.setText("Remove all no running uploads");
clean_all_up_menu.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -462,7 +462,7 @@ public final class MainPanelView extends javax.swing.JFrame {
file_menu.add(hide_tray_menu);
exit_menu.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
exit_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-shutdown-30.png"))); // NOI18N
exit_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-shutdown-30.png"))); // NOI18N
exit_menu.setText("Exit");
exit_menu.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -478,7 +478,7 @@ public final class MainPanelView extends javax.swing.JFrame {
edit_menu.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
settings_menu.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
settings_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-services-30.png"))); // NOI18N
settings_menu.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-services-30.png"))); // NOI18N
settings_menu.setText("Settings");
settings_menu.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.ByteArrayOutputStream;
import java.io.File;
@ -15,8 +15,8 @@ import java.util.Random;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.crypto.Cipher;
import static megabasterd.MiscTools.*;
import static megabasterd.CryptTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.CryptTools.*;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
@ -15,8 +15,8 @@ import java.util.logging.Level;
import java.util.logging.Logger;
import javax.crypto.Cipher;
import javax.swing.JOptionPane;
import static megabasterd.MiscTools.*;
import static megabasterd.CryptTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.CryptTools.*;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.util.HashMap;

View File

@ -1,8 +1,8 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.util.HashMap;
import javax.swing.tree.DefaultMutableTreeNode;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.*;
import java.net.ServerSocket;
@ -7,7 +7,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Component;
import java.awt.Container;
@ -54,7 +54,7 @@ import javax.swing.tree.MutableTreeNode;
import javax.swing.tree.TreeNode;
import javax.swing.tree.TreePath;
import javax.xml.bind.DatatypeConverter;
import static megabasterd.MainPanel.VERSION;
import static com.tonikelope.megabasterd.MainPanel.VERSION;
import org.apache.http.HttpException;
import org.apache.http.HttpHost;
import org.apache.http.HttpRequest;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.util.logging.Level;
import static java.util.logging.Level.SEVERE;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Dialog;
import java.awt.event.KeyEvent;
@ -6,8 +6,8 @@ import java.util.Arrays;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
import static com.tonikelope.megabasterd.MiscTools.*;
/**
*

View File

@ -67,7 +67,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-save-all-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="SAVE"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -82,7 +82,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-cancel-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="CANCEL"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -107,7 +107,7 @@
<JTabbedPaneConstraints tabName="Downloads">
<Property name="tabTitle" type="java.lang.String" value="Downloads"/>
<Property name="tabIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-download-from-ftp-30.png"/>
<Image iconType="3" name="/images/icons8-download-from-ftp-30.png"/>
</Property>
</JTabbedPaneConstraints>
</Constraint>
@ -127,7 +127,7 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="downloads_scroll_pane" pref="473" max="32767" attributes="0"/>
<Component id="downloads_scroll_pane" pref="468" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
@ -444,7 +444,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-folder-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Change it"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -560,7 +560,7 @@
<JTabbedPaneConstraints tabName="Uploads">
<Property name="tabTitle" type="java.lang.String" value="Uploads"/>
<Property name="tabIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-upload-to-ftp-30.png"/>
<Image iconType="3" name="/images/icons8-upload-to-ftp-30.png"/>
</Property>
</JTabbedPaneConstraints>
</Constraint>
@ -637,7 +637,7 @@
<Component id="max_up_speed_label" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="max_up_speed_spinner" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="277" max="32767" attributes="0"/>
<EmptySpace pref="272" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@ -738,7 +738,7 @@
<JTabbedPaneConstraints tabName="Accounts">
<Property name="tabTitle" type="java.lang.String" value="Accounts"/>
<Property name="tabIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-customer-30.png"/>
<Image iconType="3" name="/images/icons8-customer-30.png"/>
</Property>
</JTabbedPaneConstraints>
</Constraint>
@ -796,7 +796,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="122" max="32767" attributes="0"/>
<Component id="mega_accounts_scrollpane" pref="120" 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"/>
@ -805,7 +805,7 @@
<EmptySpace max="-2" attributes="0"/>
<Component id="elc_accounts_label" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="elc_accounts_scrollpane" pref="122" max="32767" attributes="0"/>
<Component id="elc_accounts_scrollpane" pref="119" 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"/>
@ -858,7 +858,7 @@
<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-trash-can-30.png"/>
<Image iconType="3" name="/images/icons8-trash-can-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Remove selected"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -874,7 +874,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-plus-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Add account"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -907,7 +907,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-trash-can-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="RESET ACCOUNTS"/>
</Properties>
@ -927,7 +927,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-key-2-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Unlock accounts"/>
</Properties>
@ -980,7 +980,7 @@
<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-trash-can-30.png"/>
<Image iconType="3" name="/images/icons8-trash-can-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Remove selected"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -996,7 +996,7 @@
<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"/>
<Image iconType="3" name="/images/icons8-plus-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Add account"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -1022,7 +1022,7 @@
<JTabbedPaneConstraints tabName="Advanced">
<Property name="tabTitle" type="java.lang.String" value="Advanced"/>
<Property name="tabIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-administrative-tools-30.png"/>
<Image iconType="3" name="/images/icons8-administrative-tools-30.png"/>
</Property>
</JTabbedPaneConstraints>
</Constraint>
@ -1079,7 +1079,7 @@
<Component id="import_settings_button" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="export_settings_button" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="152" max="32767" attributes="0"/>
<EmptySpace pref="147" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@ -1304,7 +1304,7 @@
<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-import-30.png"/>
<Image iconType="3" name="/images/icons8-import-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="IMPORT SETTINGS"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -1319,7 +1319,7 @@
<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-export-30.png"/>
<Image iconType="3" name="/images/icons8-export-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="EXPORT SETTINGS"/>
<Property name="doubleBuffered" type="boolean" value="true"/>

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Dialog;
import java.awt.Frame;
@ -30,9 +30,9 @@ import static javax.swing.JOptionPane.showOptionDialog;
import javax.swing.JSpinner;
import javax.swing.SpinnerNumberModel;
import javax.swing.table.DefaultTableModel;
import static megabasterd.DBTools.*;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.DBTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
import static com.tonikelope.megabasterd.MiscTools.*;
/**
*
@ -588,7 +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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-save-all-30.png"))); // NOI18N
save_button.setText("SAVE");
save_button.setDoubleBuffered(true);
save_button.addActionListener(new java.awt.event.ActionListener() {
@ -598,7 +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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-cancel-30.png"))); // NOI18N
cancel_button.setText("CANCEL");
cancel_button.setDoubleBuffered(true);
cancel_button.addActionListener(new java.awt.event.ActionListener() {
@ -669,7 +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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/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() {
@ -872,11 +872,11 @@ public final class SettingsDialog extends javax.swing.JDialog {
downloads_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(downloads_panelLayout.createSequentialGroup()
.addContainerGap()
.addComponent(downloads_scroll_pane, javax.swing.GroupLayout.DEFAULT_SIZE, 473, Short.MAX_VALUE)
.addComponent(downloads_scroll_pane, javax.swing.GroupLayout.DEFAULT_SIZE, 468, Short.MAX_VALUE)
.addContainerGap())
);
jTabbedPane1.addTab("Downloads", new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-download-from-ftp-30.png")), downloads_panel); // NOI18N
jTabbedPane1.addTab("Downloads", new javax.swing.ImageIcon(getClass().getResource("/images/icons8-download-from-ftp-30.png")), downloads_panel); // NOI18N
default_slots_up_label.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
default_slots_up_label.setText("Default slots per file:");
@ -977,10 +977,10 @@ public final class SettingsDialog extends javax.swing.JDialog {
.addGroup(uploads_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(max_up_speed_label)
.addComponent(max_up_speed_spinner, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(277, Short.MAX_VALUE))
.addContainerGap(272, Short.MAX_VALUE))
);
jTabbedPane1.addTab("Uploads", new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-upload-to-ftp-30.png")), uploads_panel); // NOI18N
jTabbedPane1.addTab("Uploads", new javax.swing.ImageIcon(getClass().getResource("/images/icons8-upload-to-ftp-30.png")), uploads_panel); // NOI18N
mega_accounts_table.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
mega_accounts_table.setModel(new javax.swing.table.DefaultTableModel(
@ -1008,7 +1008,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-trash-can-30.png"))); // NOI18N
remove_mega_account_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-trash-can-30.png"))); // NOI18N
remove_mega_account_button.setText("Remove selected");
remove_mega_account_button.setDoubleBuffered(true);
remove_mega_account_button.setEnabled(false);
@ -1019,7 +1019,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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/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() {
@ -1040,7 +1040,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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/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) {
@ -1051,7 +1051,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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/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) {
@ -1088,7 +1088,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-trash-can-30.png"))); // NOI18N
remove_elc_account_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-trash-can-30.png"))); // NOI18N
remove_elc_account_button.setText("Remove selected");
remove_elc_account_button.setDoubleBuffered(true);
remove_elc_account_button.setEnabled(false);
@ -1099,7 +1099,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.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/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() {
@ -1156,7 +1156,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, 122, Short.MAX_VALUE)
.addComponent(mega_accounts_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(accounts_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(remove_mega_account_button)
@ -1164,7 +1164,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(elc_accounts_label)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(elc_accounts_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 122, Short.MAX_VALUE)
.addComponent(elc_accounts_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 119, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(accounts_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(remove_elc_account_button)
@ -1172,7 +1172,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
.addContainerGap())
);
jTabbedPane1.addTab("Accounts", new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-customer-30.png")), accounts_panel); // NOI18N
jTabbedPane1.addTab("Accounts", new javax.swing.ImageIcon(getClass().getResource("/images/icons8-customer-30.png")), accounts_panel); // NOI18N
proxy_panel.setBorder(javax.swing.BorderFactory.createTitledBorder("Proxy settings"));
@ -1300,7 +1300,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
);
import_settings_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
import_settings_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-import-30.png"))); // NOI18N
import_settings_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-import-30.png"))); // NOI18N
import_settings_button.setText("IMPORT SETTINGS");
import_settings_button.setDoubleBuffered(true);
import_settings_button.addActionListener(new java.awt.event.ActionListener() {
@ -1310,7 +1310,7 @@ public final class SettingsDialog extends javax.swing.JDialog {
});
export_settings_button.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
export_settings_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-export-30.png"))); // NOI18N
export_settings_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-export-30.png"))); // NOI18N
export_settings_button.setText("EXPORT SETTINGS");
export_settings_button.setDoubleBuffered(true);
export_settings_button.addActionListener(new java.awt.event.ActionListener() {
@ -1373,10 +1373,10 @@ public final class SettingsDialog extends javax.swing.JDialog {
.addGroup(advanced_panelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(import_settings_button)
.addComponent(export_settings_button))
.addContainerGap(152, Short.MAX_VALUE))
.addContainerGap(147, Short.MAX_VALUE))
);
jTabbedPane1.addTab("Advanced", new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-administrative-tools-30.png")), advanced_panel); // NOI18N
jTabbedPane1.addTab("Advanced", new javax.swing.ImageIcon(getClass().getResource("/images/icons8-administrative-tools-30.png")), advanced_panel); // NOI18N
status.setFont(new java.awt.Font("Dialog", 3, 14)); // NOI18N
status.setForeground(new java.awt.Color(102, 102, 102));

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Color;
import java.io.ByteArrayOutputStream;
@ -11,8 +11,8 @@ import java.util.Random;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.logging.Level;
import java.util.logging.Logger;
import static megabasterd.MainPanel.THREAD_POOL;
import static megabasterd.MiscTools.getApacheKissHttpClient;
import static com.tonikelope.megabasterd.MainPanel.THREAD_POOL;
import static com.tonikelope.megabasterd.MiscTools.getApacheKissHttpClient;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.sql.Connection;
import java.sql.DriverManager;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.IOException;
import java.io.InputStream;
@ -6,11 +6,11 @@ import java.net.URI;
import java.net.URISyntaxException;
import java.util.logging.Level;
import java.util.logging.Logger;
import static megabasterd.MainPanel.*;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.IOException;
import java.io.InputStream;
@ -8,7 +8,7 @@ import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.util.Map;
import java.util.Timer;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Dialog;
import java.awt.event.WindowEvent;
@ -11,8 +11,8 @@ import java.util.logging.Logger;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JOptionPane;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.IOException;
import java.io.InputStream;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.IOException;
import java.io.OutputStream;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.util.concurrent.ConcurrentLinkedQueue;

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Component;
import java.awt.TrayIcon;
@ -8,8 +8,8 @@ import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JPanel;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.File;
import static java.lang.Integer.MAX_VALUE;
@ -15,8 +15,8 @@ import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JComponent;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*
@ -951,7 +951,7 @@ public final class Upload implements Transference, Runnable, SecureSingleThreadN
if (!_status_error && !_canceled) {
getView().getClose_button().setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-ok-30.png")));
getView().getClose_button().setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-ok-30.png")));
}

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.io.IOException;
import java.io.InputStream;
@ -9,8 +9,8 @@ import java.util.logging.Logger;
import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import static megabasterd.CryptTools.*;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.CryptTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
/**
*

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Component;
import java.sql.SQLException;
@ -6,7 +6,7 @@ import java.util.ArrayList;
import java.util.concurrent.ConcurrentLinkedQueue;
import static java.util.logging.Level.SEVERE;
import java.util.logging.Logger;
import static megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.MiscTools.*;
/**
*

View File

@ -208,7 +208,7 @@
<Font name="Dialog" size="16" 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"/>
<Image iconType="3" name="/images/icons8-cancel-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Close"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -223,7 +223,7 @@
<Font name="Dialog" size="16" style="1"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-restart-30.png"/>
<Image iconType="3" name="/images/icons8-restart-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Restart"/>
<Property name="doubleBuffered" type="boolean" value="true"/>
@ -259,7 +259,7 @@
<Font name="Dialog" size="16" style="1"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-copy-to-clipboard-30.png"/>
<Image iconType="3" name="/images/icons8-copy-to-clipboard-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Copy folder link"/>
</Properties>
@ -273,7 +273,7 @@
<Font name="Dialog" size="16" style="1"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/megabasterd/icons/icons8-copy-to-clipboard-30.png"/>
<Image iconType="3" name="/images/icons8-copy-to-clipboard-30.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Copy file link"/>
<Property name="enabled" type="boolean" value="false"/>

View File

@ -1,4 +1,4 @@
package megabasterd;
package com.tonikelope.megabasterd;
import java.awt.Color;
import static java.lang.Integer.MAX_VALUE;
@ -10,9 +10,9 @@ import javax.swing.JOptionPane;
import javax.swing.JProgressBar;
import javax.swing.JSpinner;
import javax.swing.SpinnerNumberModel;
import static megabasterd.MainPanel.*;
import static megabasterd.MiscTools.*;
import static megabasterd.Transference.*;
import static com.tonikelope.megabasterd.MiscTools.*;
import static com.tonikelope.megabasterd.Transference.*;
import static com.tonikelope.megabasterd.MainPanel.*;
/**
*
@ -179,7 +179,7 @@ public final class UploadView extends javax.swing.JPanel implements Transference
file_name_label.setDoubleBuffered(true);
close_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
close_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-cancel-30.png"))); // NOI18N
close_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-cancel-30.png"))); // NOI18N
close_button.setText("Close");
close_button.setDoubleBuffered(true);
close_button.addActionListener(new java.awt.event.ActionListener() {
@ -189,7 +189,7 @@ public final class UploadView extends javax.swing.JPanel implements Transference
});
restart_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
restart_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-restart-30.png"))); // NOI18N
restart_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-restart-30.png"))); // NOI18N
restart_button.setText("Restart");
restart_button.setDoubleBuffered(true);
restart_button.addActionListener(new java.awt.event.ActionListener() {
@ -208,7 +208,7 @@ public final class UploadView extends javax.swing.JPanel implements Transference
slot_status_label.setDoubleBuffered(true);
folder_link_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
folder_link_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-copy-to-clipboard-30.png"))); // NOI18N
folder_link_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-copy-to-clipboard-30.png"))); // NOI18N
folder_link_button.setText("Copy folder link");
folder_link_button.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -217,7 +217,7 @@ public final class UploadView extends javax.swing.JPanel implements Transference
});
file_link_button.setFont(new java.awt.Font("Dialog", 1, 16)); // NOI18N
file_link_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/megabasterd/icons/icons8-copy-to-clipboard-30.png"))); // NOI18N
file_link_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-copy-to-clipboard-30.png"))); // NOI18N
file_link_button.setText("Copy file link");
file_link_button.setEnabled(false);
file_link_button.addActionListener(new java.awt.event.ActionListener() {

View File

Before

Width:  |  Height:  |  Size: 480 KiB

After

Width:  |  Height:  |  Size: 480 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

Before

Width:  |  Height:  |  Size: 660 B

After

Width:  |  Height:  |  Size: 660 B

View File

Before

Width:  |  Height:  |  Size: 696 B

After

Width:  |  Height:  |  Size: 696 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 943 B

After

Width:  |  Height:  |  Size: 943 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 624 B

After

Width:  |  Height:  |  Size: 624 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 522 B

View File

Before

Width:  |  Height:  |  Size: 391 B

After

Width:  |  Height:  |  Size: 391 B

View File

Before

Width:  |  Height:  |  Size: 577 B

After

Width:  |  Height:  |  Size: 577 B

View File

Before

Width:  |  Height:  |  Size: 757 B

After

Width:  |  Height:  |  Size: 757 B

View File

Before

Width:  |  Height:  |  Size: 712 B

After

Width:  |  Height:  |  Size: 712 B

View File

Before

Width:  |  Height:  |  Size: 980 B

After

Width:  |  Height:  |  Size: 980 B

View File

Before

Width:  |  Height:  |  Size: 809 B

After

Width:  |  Height:  |  Size: 809 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 826 B

After

Width:  |  Height:  |  Size: 826 B

View File

Before

Width:  |  Height:  |  Size: 1002 B

After

Width:  |  Height:  |  Size: 1002 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 632 B

After

Width:  |  Height:  |  Size: 632 B

View File

Before

Width:  |  Height:  |  Size: 995 B

After

Width:  |  Height:  |  Size: 995 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 576 B

After

Width:  |  Height:  |  Size: 576 B

Some files were not shown because too many files have changed in this diff Show More