/[classpath]/classpath/javax/swing/colorchooser/DefaultSwatchChooserPanel.java
ViewVC logotype

Diff of /classpath/javax/swing/colorchooser/DefaultSwatchChooserPanel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mkoch, Fri Jan 28 09:41:40 2005 UTC revision 1.4 by tromey, Tue Apr 26 18:56:19 2005 UTC
# Line 501  class DefaultSwatchChooserPanel extends Line 501  class DefaultSwatchChooserPanel extends
501    
502      /**      /**
503       * This method adds the given color to the beginning of the swatch panel.       * This method adds the given color to the beginning of the swatch panel.
504         * Package-private to avoid an accessor method.
505       *       *
506       * @param c The color to add.       * @param c The color to add.
507       */       */
508      private void addColorToQueue(Color c)      void addColorToQueue(Color c)
509      {      {
510        if (--start == -1)        if (--start == -1)
511          start = numRows * numCols - 1;          start = numRows * numCols - 1;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26