title: JColorChooser: Save/restore recent colors in Swatches panel
body: <p>I am using a <strong>JColorchooser</strong> at various places in an application. There can be multiple instances of the panel that can invoke a JColorChooser.<br>
  The "Swatches" panel in the chooser has an area of <strong>"recent" colors</strong>, which only persists within each instance of JColorChooser. I would like to <strong>(a) have the same "recent" colors in all my choosers</strong> in my application, and <strong>(b) to save the colors to disk</strong> so that these colors survive close and restart of the application.<br>
  (At least (a) could be solved by using the same single chooser instance all over the whole app, but that apears cumbersome because I would need to be very careful with attached changelisteners, and adding/removing the chooser panel to/from various dialogs.)</p>
  
  <p>I did not find any method that lets me set (restore) these "recent" colors in the chooser panel. So to me, it appears that the only ways of achieving this would be:</p>
  
  <ul>
  <li>serialize and save / restore the whole chooser (chooser panel?)
  or</li>
  <li>create my own chooser panel from scratch</li>
  </ul>
  
  <p>Is this correct, or am I missing something?  </p>
  
  <p>BTW: I would also like to detect a double click in the chooser, but it seems hard to find the right place to attach my mouse listener to. Do I really need to dig into the internal structure of the chooser panel to do this? (No, it does not work to detect a second click on the same color, because the change listener only fires if a different color is clicked.)</p>