Color c, old; old = opt.getLineCol(); c = getColor(old); if (c!=null) { opt.setLineCol(c); update(); }
opt.setBoolValueForKey("ANTIALIAS_OPTION", useAnti.isSelected());
            public void actionPerformed(ActionEvent e) {                Color c, old;                old = opt.getLineCol();                c = getColor(old);                if (c!=null) {                    opt.setLineCol(c);                    update();                }            }