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