title: How do I create a JOptionPane.showOptionDialog box in Java (Swing) with custom JButtons?
body: <p>After reading through all the Dialog tutorials for a while, there seems to be no apparent way to do this.  The closest thing seems to be <code>JOptionPane.showOptionDialog</code>, but I am limited by the <code>optionType</code> parameter here.</p>
  
  <p>EDIT: I figured out the problem, but have a new one.  It seems that the <code>options</code> parameter being specified in <code>showOptionDialog</code> needs to be fairly simple objects (strings or just 'objects', not <code>JButton</code> or the like).  I was trying to put an array of custom-factory-created JButtons here, because they have a special rollover icon that I want to be using.  What happens, though, is that clicking on any of these buttons does not cause the dialog to close (and thus, execution continues blocking on the dialog).  So I have updated my question in the headline. </p>
  
  <p>Put more succinctly -- the question is, how do I override <code>JOptionPane.showOptionDialog(args)</code> to get the button customization I'm looking for?  Or do I even need to do that?</p>
  
  <p>Please and thanks! -B.</p>