Retargeting Navigation Example
For this to work, you need at least two projects.
- On a blank window, add a Button component, and either change the button text or add a label that informs the user that the button retargets to a new project.
Right click on the Button and select the Scripting option. On the actionPerformed event, add this script to the script builder:
The script below was added to the button in the Tank project. A similar script was also added to the Motor project.
This can be repeated with more buttons and scripts that lead to other projects. Here is an example using the retargeting feature to navigate between two different projects. Press the Retarget buttons to navigate between the Tank project and Motor project.