Stuck trying to linking java pages togther

I got the first img working but can’t get the second one to work as its done differently than the first and don’t understand it.

where it says context I tried using the pages name but that doesn’t work.

1 Like

Got it working