if (st.hasMoreTokens()) { background = convertColor(Integer.parseInt(st.nextToken())); }
    private void processBrushWord(StringTokenizer st, Vector vals) {        int pattern = Integer.parseInt(st.nextToken());        Color foreground = convertColor(Integer.parseInt(st.nextToken()));        Color background = null;        //background appears to be ignored by MapInfo but I grab it        // anyway        if (st.hasMoreTokens()) {            background = convertColor(Integer.parseInt(st.nextToken()));        }        int len = vals.size();        OMGraphic omg;        for (int i = 0; i < len; i++) {            omg = (OMGraphic) vals.elementAt(i);            omg.setLinePaint(foreground);            switch (pattern) {            case 1:                break; //No fill so do nothing            case 2:                omg.setFillPaint(foreground);                break;            }        }    }