mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-18 16:26:26 +01:00
troubleshooting link
This commit is contained in:
parent
d094cf1673
commit
67efc5cd8a
@ -1,9 +1,35 @@
|
||||
package gearth.ui.extra;
|
||||
|
||||
import gearth.Main;
|
||||
import gearth.ui.SubForm;
|
||||
import gearth.ui.info.Info;
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.scene.control.*;
|
||||
|
||||
/**
|
||||
* Created by Jonas on 06/04/18.
|
||||
*/
|
||||
public class Extra extends SubForm {
|
||||
|
||||
public TextArea txtarea_notepad;
|
||||
|
||||
public CheckBox cbx_alwaysOnTop;
|
||||
public Hyperlink url_troubleshooting;
|
||||
|
||||
public CheckBox cbx_advanced;
|
||||
|
||||
public CheckBox cbx_ovcinfo;
|
||||
public TextField txt_realPort;
|
||||
public TextField txt_mitmIP;
|
||||
public TextField txt_realIp;
|
||||
public TextField txt_mitmPort;
|
||||
|
||||
public CheckBox cbx_disableDecryption;
|
||||
public CheckBox txt_debug;
|
||||
|
||||
public void initialize() {
|
||||
url_troubleshooting.setTooltip(new Tooltip("https://github.com/sirjonasxx/G-Earth/wiki/Troubleshooting"));
|
||||
Info.activateHyperlink(url_troubleshooting);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ public class Info extends SubForm {
|
||||
|
||||
// this is a TEMPORARY info tab
|
||||
|
||||
private void activateHyperlink(Hyperlink link) {
|
||||
public static void activateHyperlink(Hyperlink link) {
|
||||
link.setOnAction((ActionEvent event) -> {
|
||||
Hyperlink h = (Hyperlink) event.getTarget();
|
||||
String s = h.getTooltip().getText();
|
||||
|
Loading…
Reference in New Issue
Block a user