<p>Here is a testapp:</p>
<p>public class ProgressIndicatorTestApp extends Application {</p>
<pre><code>@Override
public void start(Stage stage) {

    FlowPane root = new FlowPane();

    FlowPane pane = new FlowPane();

    Button add = new Button("add");
    add.setOnAction(actionEvent -> {
        pane.getChildren().add(new ProgressIndicator());
    });

    Button remove = new Button("remove");
    remove.setOnAction(actionEvent -> {
        pane.getChildren().clear();
    });

    root.getChildren().add(add);
    root.getChildren().add(remove);
    root.getChildren().add(pane);

    Scene scene = new Scene(root, 300, 200);

    stage.setScene(scene);
    stage.show();
}
</code></pre>
<p>}</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/1692#issuecomment-422534386">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtmVWN3ZESEi0InnOoKDKvbE_p5wPks5ucVMrgaJpZM4WukhH">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtrvS4W1VMv3_DZ3kNHWOwUjVLDCcks5ucVMrgaJpZM4WukhH.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq","title":"bisq-network/bisq","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ManfredKarrer in #1692: Here is a testapp:\r\n\r\npublic class ProgressIndicatorTestApp extends Application {\r\n\r\n\r\n    @Override\r\n    public void start(Stage stage) {\r\n\r\n        FlowPane root = new FlowPane();\r\n\r\n        FlowPane pane = new FlowPane();\r\n\r\n        Button add = new Button(\"add\");\r\n        add.setOnAction(actionEvent -\u003e {\r\n            pane.getChildren().add(new ProgressIndicator());\r\n        });\r\n\r\n        Button remove = new Button(\"remove\");\r\n        remove.setOnAction(actionEvent -\u003e {\r\n            pane.getChildren().clear();\r\n        });\r\n\r\n        root.getChildren().add(add);\r\n        root.getChildren().add(remove);\r\n        root.getChildren().add(pane);\r\n\r\n        Scene scene = new Scene(root, 300, 200);\r\n\r\n        stage.setScene(scene);\r\n        stage.show();\r\n    }\r\n\r\n}"}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/bisq/issues/1692#issuecomment-422534386"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/1692#issuecomment-422534386",
"url": "https://github.com/bisq-network/bisq/issues/1692#issuecomment-422534386",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [bisq-network/bisq] Fix performacne issues with Java 10 version of ProgressIndicator  (#1692)",
"sections": [
{
"text": "",
"activityTitle": "**Manfred Karrer**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@ManfredKarrer",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"bisq-network/bisq\",\n\"issueId\": 1692,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"bisq-network/bisq\",\n\"issueId\": 1692\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/bisq/issues/1692#issuecomment-422534386"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 381306951\n}"
}
],
"themeColor": "26292E"
}
]</script>