There are several ways you can use Mozilla code in your own project.
- Mozilla provides a development platform for desktop applications, called XUL, atop which you can build applications.
- Various components of the platform, such as the SpiderMonkey JavaScript engine, can be used in your own projects without the rest of the platform.
- There are also modules that aren't used in Firefox but are available for use by other applications; an example of this is Rhino, the JavaScript engine written in Java.
- You can embed Gecko, the layout engine used by Firefox to process web pages, as a browser within your own application.
Building XUL applications
|
Using Mozilla components
|
Embedding Mozilla
For information on embedding a web browser into your own application see Embedding Mozilla.