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