Re: Writing an FF MIME-handler in Java
Javier Pedemonte <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <Obednb_NO-VaF4_bnZ2dnUVZ_hGdnZ2d__4500.77631180665$1175620539$gmane$org@mozilla.org> |
Anders Rundgren wrote: > How do I write a MIME-hamdler in Firefox using Java? I don't know anything about MIME-handlers, but if you want to add functionality to Firefox, you'll need to do that through an extension. Currently, the only way to use Java in extensions is using LiveConnect from JavaScript to load your Java code. See http://developer.mozilla.org/en/docs/Java_in_Firefox_Extensions. > I also want the MIME-handler to open a dialog box and reusing the browser's > display capability. That should be easy to do. You'd just need to get a reference to whichever service/component handles opening windows, and then call it with the appropriate arguments. Search on http://developer.mozilla.org. > And then I want to communicate over connections already running in Firefox. Also should be doable. javier