Example: Syntax to Call Java from Customizable Java Buttons
public class ExampleClass
{
public static void exampleMethod(String param1, String param2)
{
System.out.println("Received parameters "+param1+" "+param2);
}
}
The syntax to call the method exampleMethod is:
{ExampleClass.exampleMethod(data1,data2)}