I am new to Firefox extensions. I have the following question. Any
comments are welcome.

I'd like to add a button to the Firefox toolbar. When a user clicks
the button, the URL string in the URL field should be sent to a
another stand-alone java program. This java program will display this
URL string in its only GUI.

Is there any easy way to do that ?

Thanks a lot.