We have answer of your question!

100% solved queries, no empty question

0

I am doing Stocks market app, I need to display Order status changes to user. I came across ControlsFX Notification. From doc example, it looks like we can only specify simple text for it's content.

Notifications.create()
             .title("Title")
             .text("Hello Notification")
             .darkStyle()
             .show();

Is there a way to specify content Node, eg: TableView? As I would like to group a bunch of messages together, present in TableView / ListView, then show in single notification.

If not achievable with ControlsFX, any other recommendation? Thanks!

Question author Shuwn-yuan-tee | Source

Answer


1


You can set a Node to display unsing graphic.

Notifications.create()
        .darkStyle()
        .title("Title")
        .graphic(new Rectangle(600, 400, Color.RED)) // sets node to display
        .hideAfter(Duration.seconds(10))
        .show();
Answer author Fabian

Tickanswer.com is providing the only single recommended solution of the question JavaFX Notification with ControlsFX under the categories i.e notifications , tableview , javafx-8 , controlsfx , . Our team of experts filter the best solution for you.

Related Search Queries:


You may also add your answer

Thanks for contributing an answer to Tick Answer!