currLineCol.setBackground(opt.getLineCol()); currCharCol.setBackground(opt.getCharCol()); currMarkCol.setBackground(opt.getMarkCol()); currBackCol.setBackground(opt.getBackCol()); currTransCol.setBackground(opt.getTransCol()); askSave.setSelected(opt.getAskSave());
currLineCol.setBackground(opt.getColorValueForKey("LINE_COLOR", Color.BLACK)); currCharCol.setBackground(opt.getColorValueForKey("CHAR_COLOR", Color.RED)); currMarkCol.setBackground(opt.getColorValueForKey("MARK_COLOR", Color.YELLOW)); currBackCol.setBackground(opt.getColorValueForKey("BACKGROUND_COLOR", Color.WHITE)); currTransCol.setBackground(opt.getColorValueForKey("SPECIAL_COLOR", Color.GREEN)); askSave.setSelected(opt.getBoolValueForKey("ASKSAVE_OPTION", false)); useAnti.setSelected(opt.getBoolValueForKey("ANTIALIAS_OPTION", true));
    private void update() {        currLineCol.setBackground(opt.getLineCol());        currCharCol.setBackground(opt.getCharCol());        currMarkCol.setBackground(opt.getMarkCol());        currBackCol.setBackground(opt.getBackCol());        currTransCol.setBackground(opt.getTransCol());        askSave.setSelected(opt.getAskSave());    }