if (pn.equals("cursorBlink")) { System.out.println(getStringProperty("cursorBlink")); if (pce.getNewValue().equals("Yes")) {  if (blinker == null) {  blinker = new javax.swing.Timer(500,this); blinker.start(); } } else {  if (blinker != null) { blinker.stop(); blinker = null; } } }
   public void propertyChange(PropertyChangeEvent pce) {      String pn = pce.getPropertyName();      boolean resetAttr = false;      if (pn.equals("colorBg")) {         colorBg = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorBlue")) {         colorBlue = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorTurq")) {         colorTurq = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorRed")) {         colorRed = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorWhite")) {         colorWhite = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorYellow")) {         colorYellow = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorGreen")) {         colorGreen = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorPink")) {         colorPink = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorGUIField")) {         colorGUIField = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorCursor")) {         colorCursor = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorSep")) {         colorSep = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("colorHexAttr")) {         colorHexAttr = (Color)pce.getNewValue();         resetAttr = true;      }      if (pn.equals("cursorSize")) {         if (pce.getNewValue().equals("Full"))            cursorSize = 2;         if (pce.getNewValue().equals("Half"))            cursorSize = 1;         if (pce.getNewValue().equals("Line"))            cursorSize = 0;      }      if (pn.equals("crossHair")) {         if (pce.getNewValue().equals("None"))            crossHair = 0;         if (pce.getNewValue().equals("Horz"))            crossHair = 1;         if (pce.getNewValue().equals("Vert"))            crossHair = 2;         if (pce.getNewValue().equals("Both"))            crossHair = 3;      }      if (pn.equals("rulerFixed")) {         if (pce.getNewValue().equals("Yes"))            rulerFixed = true;         else            rulerFixed = false;      }      if (pn.equals("colSeparator")) {         if (pce.getNewValue().equals("Line"))            colSepLine = 0;         if (pce.getNewValue().equals("ShortLine"))            colSepLine = 1;         if (pce.getNewValue().equals("Dot"))            colSepLine = 2;         if (pce.getNewValue().equals("Hide"))            colSepLine = 3;      }      if (pn.equals("showAttr")) {         if (pce.getNewValue().equals("Hex"))            showHex = true;         else            showHex= false;      }      if (pn.equals("guiInterface")) {         if (pce.getNewValue().equals("Yes"))            guiInterface = true;         else            guiInterface = false;      }      if (pn.equals("guiShowUnderline")) {         if (pce.getNewValue().equals("Yes"))            guiShowUnderline = true;         else            guiShowUnderline = false;      }      if (pn.equals("hotspots")) {         if (pce.getNewValue().equals("Yes"))            hotSpots = true;         else            hotSpots = false;      }      if (pn.equals("defaultPrinter")) {         if (pce.getNewValue().equals("Yes"))            defaultPrinter = true;         else            defaultPrinter = false;      }      if (pn.equals("resetRequired")) {         if (pce.getNewValue().equals("Yes"))            resetRequired = true;         else            resetRequired = false;      }      if (pn.equals("hsMore")) {         hsMore.setLength(0);         hsMore.append((String)pce.getNewValue());      }      if (pn.equals("hsBottom")) {         hsBottom.setLength(0);         hsBottom.append((String)pce.getNewValue());      }      if (pn.equals("font")) {         font = new Font((String)pce.getNewValue(),Font.PLAIN,14);         updateFont = true;      }      if (pn.equals("useAntialias")) {         if (pce.getNewValue().equals("Yes"))            bi.setUseAntialias(true);         else            bi.setUseAntialias(false);         updateFont = true;      }      if (pn.equals("fontScaleHeight")) {//         try {            sfh = Float.parseFloat((String)pce.getNewValue());            updateFont = true;//         }      }      if (pn.equals("fontScaleWidth")) {//         try {            sfw = Float.parseFloat((String)pce.getNewValue());            updateFont = true;//         }      }      if (pn.equals("fontPointSize")) {//         try {            ps132 = Float.parseFloat((String)pce.getNewValue());            updateFont = true;//         }      }      if (pn.equals("cursorBottOffset")) {         cursorBottOffset = getIntProperty("cursorBottOffset");      }      if (updateFont) {         Rectangle r = gui.getDrawingBounds();         resizeScreenArea(r.width,r.height);         updateFont = false;      }      if (resetAttr) {         for (int y = 0;y < lenScreen; y++) {            screen[y].setAttribute(screen[y].getCharAttr());         }         bi.drawOIA(fmWidth,fmHeight,numRows,numCols,font,colorBg,colorBlue);      }      gui.validate();      gui.repaint();   }