protected void announce(String message) {
        JOptionPane.showMessageDialog(null,message,"Hello World",
                                      JOptionPane.INFORMATION_MESSAGE);
    }
Callback for Hello->Program menu option
Ghidra/Extensions/sample/src/main/java/ghidra/examples/HelloProgramPlugin.java