JavaCat and POS Code

public class POSProxy {

    private MainScreen   catalog;
    private XmlRpcClient pos;

    public POSProxy(MainScreen catalog) {
        this.catalog = catalog;

        WebServer webserver = new WebServer(1954);
        webserver.addHandler("catalog", this);
        webserver.start();

        pos = new XmlRpcClient("http://localhost:1964/");
    }

    public boolean showCatalog() {
        moveToFront(catalog);
        return true;
    }

    private void returnToPOS() {
        Vector  params = new Vector();
        Boolean shown  = (Boolean) 
                pos.execute("pos.showPOS", params);
        if (shown.booleanValue()) {
            moveToBack(catalog);
        }
    }

    private void retAndPost() {
        returnToPOS();
        Vector params = new Vector();

        params.add(getPartsVehicle());
        params.add(getPostedParts());

        pos.execute("pos.postParts", params);
    }
}
public class XmlRpcPos {

    private JFrame       pos;
    private XmlRpcClient catalog;

    public XmlRpcPos() {
        pos = new JFrame("XML-RPC POS Demo");

        WebServer webserver = new WebServer(1964);
        webserver.addHandler("pos", this);
        webserver.start();

        catalog = new XmlRpcClient("http://localhost:1954/");
    }

    public boolean showPOS() {
        moveToFront(pos);
        return true;
    }

    private void showCatalog() {
        Vector  params = new Vector();
        Boolean shown  = (Boolean) 
                catalog.execute("catalog.showCatalog", params);
        if (shown.booleanValue()) {
            moveToBack(pos);
        }
    }

    public boolean postParts(String vehicle, Vector parts) {
        println("\n" + vehicle + "\n");
        
        for (int i = 0; i < parts.size(); i++) {
            println("\t" + parts.get(i));
        }
        
        return true;
    }
}