private void createProxyRequestsButton() { proxyRequestsToggleButton = new ToggleButton(FontAwesome.ICON_EXCHANGE); proxyRequestsToggleButton.setFont(Font.font("FontAwesome", 14)); proxyRequestsToggleButton.setTextFill(Color.BLACK); proxyRequestsToggleButton.setTooltip(new Tooltip("Enable/Disable Proxying via Burp")); proxyRequestsToggleButton.selectedProperty().bindBidirectional(isProxyingEnabled); }
private void createShowAlertsButton() { showAlertsToggleButton = new ToggleButton(FontAwesome.ICON_WARNING); showAlertsToggleButton.setFont(Font.font("FontAwesome", 14)); showAlertsToggleButton.setTextFill(Color.DARKGOLDENROD); showAlertsToggleButton.setTooltip(new Tooltip("Show/Hide Alerts.")); showAlertsToggleButton.selectedProperty().bindBidirectional(showAlerts); }
private void createShowConsoleButton() { consoleToggleButton = new ToggleButton(FontAwesome.ICON_TERMINAL); consoleToggleButton.setFont(Font.font("FontAwesome", 14)); consoleToggleButton.setTextFill(Color.DARKBLUE); consoleToggleButton.setTooltip(new Tooltip("Show/Hide Console.")); consoleToggleButton.selectedProperty().bindBidirectional(isDetailNodeVisible); }