java - JLabel#setIcon in javafx -
i have swing code base, using lot of new jlabel().seticon() snippets.
i'm trying migrate app javafx, have no idea on how since there no such method using javafx label object.
any ideas?
use label setgraphic of node (like imageview). @james_d commented.
as jlabel can add "graphic" (image) constructor.
what misleading different api terminology, , abstract node child of label.
Comments
Post a Comment