Universal Robots Forum

[IMPLEMENTED] Sliders, tabbed panes, color choosers and more

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

3 Likes

@r4p

Thank you for these topics.
I would please ask you to take the individual contributions, and split them into separate topics in the Feature Request category.
In this way, other developers also needing the same functionality, can contribute to this topic, and hence emphasize the demand even more.

Also, may I ask you to refer to the feature needed as the functionality achieved.
E.g. regarding javax.swing.JTabbedPane the functionality is to have a GUI element to create a Tab with different views inside a GUI panel. The explicit swing reference is tied to the practical implementation.
And the use case is you can create different views to set up different sections of the URCap; LED’s buzzer etc.

Thank you Jacob, I will do it as soon as possible.

This feature request is now considered implemented!
Check out the release of PolyScope 5.0 and PolyScope 3.6 - and the SDK 1.3.55.