Universal Robots Forum

Adding picture in a popup message

Hello everyone,

In order to guide the operators during their work, I want to add pictures and diagrams in my programs pop-pup.
Is there a way to do that ?

Thanks

An inbuild polyscope popup cannot contain a picture Iā€™m afraid. In order to implement a popup containing images, you would have to wtire a URCap which implements its own popups in java. The easiest thing to do is to use the popups supplied by the JOptionPane class. There are various methods availble to create different popups, including showOptionDialog which will allow you to specify a custom icon.

Hope this helps.
Sam

1 Like

It is possible to create the swing custom form with picture.

I have ever tried to this.

1 Like

Thanks for the answer !

I edit a pop-up by using HTML codes and it works pretty well.

Hello !

Thank you for the answer but how can I try this also ?
Do I have to follow a specific procedure ?
Where can I find it ?