If we want to develop an URCap that is compatible with the Styling Guide, some specific colors, font sizes, buttons sizes, layouts,… must be used.
I wanted to know if pre-defined classes or object, for example for cards or colors (example UR_BLUE), exists of if we need to create this by ourselves?
Generally you should create this by yourself.
But some of the styling you “get for free”, since the JPanel provided in buildUI will have some preset color schemes and layout management.
I.e. JButtons set with setEnabled() will automatically reflect the correct colors.
But most sizing and placement (columns) must be handled manually.