From: Walter Roberson on
In article <fvpisk$jpf$1(a)fred.mathworks.com>,
Robin <grayalno.spam(a)u.washington.edu> wrote:
>hi i am creating a GUI with three main panels. These panels
>are hidden underneath each other.
>Each panel has some subpanels.
>lets say three main panels are: 1 2 3
>and smaller subpanels 1.1 1.2 1.3 etc
>and so for second and third panel

>now i want to be on panel '2', and display sub panel 1.1
>with other panel '2' contents.

>How and can I do that ?

>I can change the visibility of main panels but not able to
>do what i stated above.

If you are talking about uipanel(), then a uipanel always hides everything
"behind" it. Unless there is some mechanism at the Java level,
there is no way to set a uipanel (or any portion of it) to be
transparent.

If you need to show a portion of a different panel, then you will
either need to reparent the subpanel to be part of the current panel,
or else you will need to copyobj() to make a copy of it into the current
panel.
--
"Not the fruit of experience, but experience itself, is the end."
-- Walter Pater