public class

MotifOptionPaneUI

extends BasicOptionPaneUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.OptionPaneUI
       ↳ javax.swing.plaf.basic.BasicOptionPaneUI
         ↳ com.sun.java.swing.plaf.motif.MotifOptionPaneUI

Class Overview

Provides the CDE/Motif look and feel for a JOptionPane.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Summary

[Expand]
Inherited Constants
From class javax.swing.plaf.basic.BasicOptionPaneUI
[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicOptionPaneUI
Public Constructors
MotifOptionPaneUI()
Public Methods
static ComponentUI createUI(JComponent x)
Creates a new MotifOptionPaneUI instance.
Dimension getMinimumOptionPaneSize()
Returns null, CDE/Motif does not impose a minimum size.
Protected Methods
void addIcon(Container top)
Creates and adds a JLabel representing the icon returned from getIcon to top.
Container createButtonArea()
Creates and returns a Container containin the buttons.
Container createSeparator()
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicOptionPaneUI
From class javax.swing.plaf.OptionPaneUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object

Public Constructors

public MotifOptionPaneUI ()

Public Methods

public static ComponentUI createUI (JComponent x)

Creates a new MotifOptionPaneUI instance.

public Dimension getMinimumOptionPaneSize ()

Returns null, CDE/Motif does not impose a minimum size.

Protected Methods

protected void addIcon (Container top)

Creates and adds a JLabel representing the icon returned from getIcon to top. This is messaged from createMessageArea

protected Container createButtonArea ()

Creates and returns a Container containin the buttons. The buttons are created by calling getButtons.

protected Container createSeparator ()