mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-29 13:00:15 +02:00
parent
c889fc45e3
commit
d6ac14133c
@ -29,7 +29,6 @@ import java.net.InetSocketAddress;
|
|||||||
import java.net.MalformedURLException;
|
import java.net.MalformedURLException;
|
||||||
import java.net.Proxy;
|
import java.net.Proxy;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.net.URISyntaxException;
|
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.net.URLDecoder;
|
import java.net.URLDecoder;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
@ -1117,7 +1116,7 @@ public class MiscTools {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (System.getProperty("os.name").toLowerCase().contains("nux")) {
|
if (System.getProperty("os.name").toLowerCase().contains("nux")) {
|
||||||
Process p = Runtime.getRuntime().exec(new String[] { "xdg-open", url });
|
Process p = Runtime.getRuntime().exec(new String[]{"xdg-open", url});
|
||||||
p.waitFor();
|
p.waitFor();
|
||||||
p.destroy();
|
p.destroy();
|
||||||
return;
|
return;
|
||||||
|
@ -1557,6 +1557,9 @@
|
|||||||
<Property name="text" type="java.lang.String" value="MEGA API KEY:"/>
|
<Property name="text" type="java.lang.String" value="MEGA API KEY:"/>
|
||||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
<Events>
|
||||||
|
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="mega_api_key_labelMouseClicked"/>
|
||||||
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JTextField" name="mega_api_key">
|
<Component class="javax.swing.JTextField" name="mega_api_key">
|
||||||
<Properties>
|
<Properties>
|
||||||
|
@ -1488,6 +1488,11 @@ public class SettingsDialog extends javax.swing.JDialog {
|
|||||||
mega_api_key_label.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
mega_api_key_label.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||||
mega_api_key_label.setText("MEGA API KEY:");
|
mega_api_key_label.setText("MEGA API KEY:");
|
||||||
mega_api_key_label.setDoubleBuffered(true);
|
mega_api_key_label.setDoubleBuffered(true);
|
||||||
|
mega_api_key_label.addMouseListener(new java.awt.event.MouseAdapter() {
|
||||||
|
public void mouseClicked(java.awt.event.MouseEvent evt) {
|
||||||
|
mega_api_key_labelMouseClicked(evt);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
mega_api_key.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
|
mega_api_key.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
|
||||||
mega_api_key.setDoubleBuffered(true);
|
mega_api_key.setDoubleBuffered(true);
|
||||||
@ -2899,6 +2904,11 @@ public class SettingsDialog extends javax.swing.JDialog {
|
|||||||
openBrowserURL("https://mega.nz/sdk");
|
openBrowserURL("https://mega.nz/sdk");
|
||||||
}//GEN-LAST:event_mega_api_key_warningMouseClicked
|
}//GEN-LAST:event_mega_api_key_warningMouseClicked
|
||||||
|
|
||||||
|
private void mega_api_key_labelMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_mega_api_key_labelMouseClicked
|
||||||
|
// TODO add your handling code here:
|
||||||
|
mega_api_key_warningMouseClicked(evt);
|
||||||
|
}//GEN-LAST:event_mega_api_key_labelMouseClicked
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JPanel accounts_panel;
|
private javax.swing.JPanel accounts_panel;
|
||||||
private javax.swing.JButton add_elc_account_button;
|
private javax.swing.JButton add_elc_account_button;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user