cBlack.dispose();
cForeground.dispose(); cBackground.dispose();
    public void paintControl(PaintEvent pe)    {        Color cBlack = new Color(this.getDisplay(), 0, 0, 0);        GC gc = pe.gc;        gc.setForeground(cBlack);        gc.setLineStyle(iLineStyle);        gc.setLineWidth(iLineWidth);        gc.drawLine(10, this.getSize().y / 2, this.getSize().x - 10, this.getSize().y / 2);        cBlack.dispose();        gc.dispose();    }