This is the image from my system before call ControlsFx notification
This is the image from my system after call ControlsFx notification
在屏幕的左侧,右上方和底部添加边框。我已经搜索了文档,但没有谈论错误。
这是我的代码:
Notifications.create()
.title(title)
.graphic(ImageView(Image("/image/error_icon_little.png")))
.text(text)
.position(Pos.TOP_RIGHT)
.hideAfter(Duration.seconds(4.0))
.show()