How do I begin to edit Java Applet

want to creat a link where I can change input output of only one gpio pin, with regards to activating a LED light it is connected to as part of a dissertation project