Image labels?
How would I get an image into a UI Designer form? My first guess is that I'd use the JLabel, which can refer to an ImageIcon. However, there doesn't seem to be a way to point UI Designer's JLabel's at an image. Am I missing something, or is it not there (yet)?
thanks,
dylan
Please sign in to leave a comment.
UIDesigner plugin look like that it will have OpenAPI for adding custom pallete of yourown components.
How as i can see pallete holds only components with primitive property setters. See your form file for example.
Dylan McNamee wrote:
(yet)?
I would suggest to use JLabels and use setIcon() to actually put in your images.
There's no way to do that in the designer right now, just bind a field for the label(s)
and call the method in your code.
Hope that helps,
Sascha
>just bind a field for the label(s) and call the method in your code.
Exectly
Vladimir Kondratyev
___________________
JetBrains