TinygDriver.getInstance().setTimedout(true); //we set this to tell the firmware updater that we have no clue what platform we are dealing with because it timed out.
Platform.runLater(new Runnable() {
@Override
public void run() {
Connect.setText("Connect"); //set the text back to "connect" since we are disconnected
MonologFXButton btnYes = MonologFXButtonBuilder.create()
.defaultButton(true)
.icon("/testmonologfx/dialog_apply.png")
.type(MonologFXButton.Type.CUSTOM2)
.label("Auto Upgrade")
.build();
MonologFXButton btnNo = MonologFXButtonBuilder.create()
.cancelButton(true)
.icon("/testmonologfx/dialog_cancel.png")
.type(MonologFXButton.Type.CUSTOM1)
.label("Skip")
.build();