mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-22 19:09:05 +02:00
2.68
This commit is contained in:
parent
9842b1c2fd
commit
718acb94e8
@ -47,7 +47,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "2.67";
|
||||
public static final String VERSION = "2.68";
|
||||
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;
|
||||
@ -136,6 +136,14 @@ public final class MainPanel {
|
||||
|
||||
_use_smart_proxy_url = null;
|
||||
|
||||
try {
|
||||
|
||||
setupSqliteTables();
|
||||
|
||||
} catch (SQLException ex) {
|
||||
Logger.getLogger(MainPanel.class.getName()).log(SEVERE, null, ex);
|
||||
}
|
||||
|
||||
loadUserSettings();
|
||||
|
||||
UIManager.put("OptionPane.messageFont", DEFAULT_FONT.deriveFont(15f * getZoom_factor()));
|
||||
@ -157,14 +165,6 @@ public final class MainPanel {
|
||||
Logger.getLogger(MainPanel.class.getName()).log(SEVERE, null, ex);
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
setupSqliteTables();
|
||||
|
||||
} catch (SQLException ex) {
|
||||
Logger.getLogger(MainPanel.class.getName()).log(SEVERE, null, ex);
|
||||
}
|
||||
|
||||
THREAD_POOL.execute((_download_manager = new DownloadManager(this)));
|
||||
|
||||
THREAD_POOL.execute((_upload_manager = new UploadManager(this)));
|
||||
|
@ -144,7 +144,12 @@
|
||||
</Menu>
|
||||
</NonVisualComponents>
|
||||
<Properties>
|
||||
<Property name="title" type="java.lang.String" value="MegaBasterd"/>
|
||||
<Property name="title" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
||||
<Connection code=""MegaBasterd " + VERSION" type="code"/>
|
||||
</Property>
|
||||
<Property name="iconImage" type="java.awt.Image" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
||||
<Connection code="new ImageIcon(getClass().getResource(ICON_FILE)).getImage()" type="code"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
<SyntheticProperties>
|
||||
<SyntheticProperty name="menuBar" type="java.lang.String" value="main_menubar"/>
|
||||
@ -220,7 +225,6 @@
|
||||
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="66" green="66" red="66" type="rgb"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="kiss server"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
</Properties>
|
||||
</Component>
|
||||
@ -232,7 +236,6 @@
|
||||
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="66" green="66" red="66" type="rgb"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="mc reverse"/>
|
||||
</Properties>
|
||||
</Component>
|
||||
<Component class="javax.swing.JLabel" name="smart_proxy_status">
|
||||
@ -243,7 +246,6 @@
|
||||
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="66" green="66" red="66" type="rgb"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="smart proxy"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
</Properties>
|
||||
</Component>
|
||||
|
@ -19,6 +19,7 @@ import static java.util.logging.Level.SEVERE;
|
||||
import java.util.logging.Logger;
|
||||
import javax.swing.ImageIcon;
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JMenuItem;
|
||||
import javax.swing.JOptionPane;
|
||||
@ -174,20 +175,14 @@ public final class MainPanelView extends javax.swing.JFrame {
|
||||
|
||||
updateFonts(getRootPane(), DEFAULT_FONT, _main_panel.getZoom_factor());
|
||||
|
||||
setTitle("MegaBasterd " + VERSION);
|
||||
for (JComponent c : new JComponent[]{global_speed_down_label, global_speed_up_label, down_remtime_label, up_remtime_label, close_all_finished_down_button, close_all_finished_up_button, pause_all_down_button, pause_all_up_button}) {
|
||||
|
||||
setIconImage(new ImageIcon(getClass().getResource(ICON_FILE)).getImage());
|
||||
c.setVisible(false);
|
||||
}
|
||||
|
||||
global_speed_down_label.setVisible(false);
|
||||
global_speed_up_label.setVisible(false);
|
||||
down_remtime_label.setVisible(false);
|
||||
up_remtime_label.setVisible(false);
|
||||
close_all_finished_down_button.setVisible(false);
|
||||
close_all_finished_up_button.setVisible(false);
|
||||
pause_all_down_button.setVisible(false);
|
||||
pause_all_up_button.setVisible(false);
|
||||
clean_all_down_menu.setEnabled(false);
|
||||
clean_all_up_menu.setEnabled(false);
|
||||
|
||||
jScrollPane_down.getVerticalScrollBar().setUnitIncrement(20);
|
||||
jScrollPane_up.getVerticalScrollBar().setUnitIncrement(20);
|
||||
|
||||
@ -240,23 +235,21 @@ public final class MainPanelView extends javax.swing.JFrame {
|
||||
help_menu = new javax.swing.JMenu();
|
||||
about_menu = new javax.swing.JMenuItem();
|
||||
|
||||
setTitle("MegaBasterd");
|
||||
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.setDoubleBuffered(true);
|
||||
|
||||
kiss_server_status.setFont(new java.awt.Font("Dialog", 2, 14)); // NOI18N
|
||||
kiss_server_status.setForeground(new java.awt.Color(102, 102, 102));
|
||||
kiss_server_status.setText("kiss server");
|
||||
kiss_server_status.setDoubleBuffered(true);
|
||||
|
||||
mc_reverse_status.setFont(new java.awt.Font("Dialog", 2, 14)); // NOI18N
|
||||
mc_reverse_status.setForeground(new java.awt.Color(102, 102, 102));
|
||||
mc_reverse_status.setText("mc reverse");
|
||||
|
||||
smart_proxy_status.setFont(new java.awt.Font("Dialog", 2, 14)); // NOI18N
|
||||
smart_proxy_status.setForeground(new java.awt.Color(102, 102, 102));
|
||||
smart_proxy_status.setText("smart proxy");
|
||||
smart_proxy_status.setDoubleBuffered(true);
|
||||
|
||||
jTabbedPane1.setDoubleBuffered(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user