Universal Robots Forum

Overlapping images in an URCap

Hello everybody:

I’m learning how to use Java Swing and UR Cap SDK, slowly making some progress. I’m trying to make a Program Node in a URCap. I am able to manage variables, nodes, waypoints… even I found out how to insert mages.

Now, I want to know if it’s possible for a image to overlap another image below in the View of this Program Node. I’ve been doing some research, but I do not have enough knowledge about Java’s Components (Jpanels, Boxes, etc…) and I do not really understand how they exactly work.

A little help, please?

Hi Jcosta…
I think what you are looking for is a layredPane…
remember to give it a size as there default size is zero, and you will therefore not see anything unless you give it a size.