=Window=
When the document is displayed, the frame, ComponentWindow ContainerWindow and contains therein the border of the window. Part of the green and blue portions of the part ContainerWindow, blue is ComponentWindow. Then, the frame will be in the frame.
[[Image:OOBasicCode.window.png|Ventana]]
==ContainerWindow==
I want to access from the frame.
<pre>
  oContainerWindow = oFrame.getContainerWindow () 
</pre>
==ComponentWindow==
I want to access from the frame in the same way.
<pre>
  oComponentWindow = oFrame.getComponentWindow ()
</pre>
==Show and hide==
<pre>
    Returns the display state () boolean isVisible
    Toggles the visibility ([in] boolean Visible) void setVisible 
</pre>
Also be hidden ComponentWindow that are included and to hide the ContainerWindow. Moreover, the entire window will be hidden if you hide ContainerWindow.
==Enabling and disabling==
<pre>
    Returns the state () boolean isEnabled
    Enable and disable void setEnable ([in] boolean bEnabled)
</pre>
==Size==
Gets the location and size of the ContainerWindow, I want to change.
<pre>
    com.sun.star.awt.Size getPosSize Returns the size and position ()
    We set the size of void setPosSize ([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] short Flags) position and 
</pre>
Specified from the constant com.sun.star.awt.PosSize the Flags. You can specify the size of the particular coordinates or specify the add X, Y, WIDTH, HEIGHT, POS, SIZE, of POSSIZE.