Universal Robots Forum

How to switch two or more page

hello,

I want to change two or more page on condition that button is pressed, but I don’t know how to write the programs.
could you possibly give me something like sample if you have?

Thank you very much

In JavaSwing, if you set the layout manager of buildUI(JPanel panel, ContributionProvider<C> provider)s JPanel to be CardLayout, then use the methods like cardLayout.show(buildUIJPanel, nameOfPage) in the actionListener of the JButton you wish to use to change through pages. The tutorial linked will teach you how to setup a CardLayout