Good moring,
as UR+ developer for the YouRing Alumotion’s product → https://www.universal-robots.com/plus/product/youring-28025/
I’d like to list some of the GUI functionalities that we used to develop our product and that we absolutely need in the future when the overlay will be no more allowed (as you can read in this communicate → NOTICE: Supported and non-supported GUI elements in URCaps):
-
javax.swing.JTabbedPane → allow to create different tabs, for example LEDS tab and BUZZER tab
-
javax.swing.border.TitledBorder → allow to create borders with title to separate GUI components, for example “Rotation Speed” “Color” “Rotation wise” etc.
-
javax.swing.JSlider → allow to use a slider to set values, for example Rotation Speed o Flash Frequency
-
javax.swing.colorchooser.AbstractColorChooserPanel → allow to select a color from a palette
-
javax.swing.JScrollPane → allow to scroll lists, for example in the Led Selector is used for scrolling total slices or the starting led
for drawing leds we used:
- java.awt.Color;
- java.awt.Dimension;
- java.awt.FontMetrics;
- java.awt.Graphics;
- java.awt.Graphics2D;
- java.awt.RenderingHints;
- java.awt.event.MouseEvent;
- java.awt.event.MouseListener;
- java.awt.geom.Ellipse2D
The Leds in “Led Selector” mode are “clickable” and they produce the switch on/off of the selected LED; they cannot be an image because they can assume every color present in the palette and they change color simultaneously with the color change on the palette
For a better comprehension of what listed above here’s some pictures of our overlay GUI:
Thanks,
Stefano