The XNap Plugin HOWTO

Steffen Pingel


    
  

Felix Berger


    
  

Yven Johannes Leist


    
  

This document describes how to write a plugin for XNap-3.x. XNap is a pure java file sharing client licensed under the GNU Public License. It provides a modern Swing based user interface and console support that will run nicely on every platform with a recent JRE or JDK (1.3 or higher). It has an extensible architecture that allows for adding all kinds features through plugins.


Table of Contents
1. Introduction
2. Getting started
3. Implementing the plugin class
3.1. Adding a graphical user interface
4. Building the plugin
5. Installing the plugin
6. Search
7. Internationalization (i18n)
8. The Help System
9. Helper Classes
9.1. org.xnap.gui.action.ActionHelper
10. Guidelines