Object o = pane.getOptions()[i];
Object o = options[i];
    public void installUI(JComponent c)    {	super.installUI(c);	pane = (JOptionPane)c;	System.out.println("     -------------: " + pane);	JLabel  message   = pane.getMessage() != null ? new JLabel((String)pane.getMessage()) : null;	JButton ok_button = new JButton("Ok");		ok_button.addActionListener(new ActionListener()	    {		public void actionPerformed(ActionEvent a)		{		    System.out.println("ACTION ---> " + a);		    //		    pane.dialog.dispose();		    if (pane.dialog.isModal())			{			    System.out.println("modal dialog !!");			    pane.dialog.setModal(false);			}		    pane.dialog.setVisible(false);		}	    });	if (pane.getOptions() != null)	    {		for (int i=0; i<pane.getOptions().length; i++)		    {			Object o = pane.getOptions()[i];			if (o != null)			    {				if (o instanceof String)				    {					String s = (String) o;					JLabel m = new JLabel(s);					pane.add(m);				    }				else if (o instanceof Component)				    {					Component com = (Component) o;					pane.add(com);				    }				else				    {					System.out.println("UNRECOGNIZED ARG: " + o);				    }			    }		    }	    }	pane.add(message);	pane.add(ok_button);    }