Listing 7 shows the removeUpdate method in its entirety.
Listing 7. The removeUpdate method. |
---|
public void removeUpdate(DocumentEvent e){ try{ redInt = Integer.parseInt( redField.getText()); if((redInt >= 0) && (redInt <= 255)){ paintColorSwatch(); }//end if }catch(Exception ex){ //do nothing on exception }//end catch }//end removeUpdate |
File: ba.htm | [Next] | [Prev] |