1 /* 2 * @(#)OptionPaneUI.java 1.12 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package javax.swing.plaf; 9 10 import javax.swing.JOptionPane; 11 12 /** 13 * Pluggable look and feel interface for JOptionPane. 14 * 15 * @version 1.12 12/19/03 16 * @author Scott Violet 17 */ 18 19 public abstract class OptionPaneUI extends ComponentUI 20 { 21 /** 22 * Requests the component representing the default value to have 23 * focus. 24 */ 25 public abstract void selectInitialValue(JOptionPane op); 26 27 /** 28 * Returns true if the user has supplied instances of Component for 29 * either the options or message. 30 */ 31 public abstract boolean containsCustomComponents(JOptionPane op); 32 } 33