onlineProperty().addListener((observable,oldValue,newValue)->serverToggle.setTooltip(newTooltip(newValue?"Connected to "+Config.get().getElectrumServer():"Disconnected")));
serverToggle.setTooltip(newTooltip(isOnline()?"Connected to "+Config.get().getElectrumServer()+(getCurrentBlockHeight()!=null?" at height "+getCurrentBlockHeight():""):"Disconnected"));
}
publicvoidnewWallet(ActionEventevent){
WalletNameDialogdlg=newWalletNameDialog();
Optional<String>walletName=dlg.showAndWait();
@ -1172,7 +1178,7 @@ public class AppController implements Initializable {