> Hi,
>
> my GUI freezes if I try to replace a contentPane of a JFrame from the
> actionListener of one of the components in the current contentPane.
> I'd like to change the contentPane after a button as been clicked, but the
> button remain pressed and the gui freezes.
Are you sure it's "frozen"? My immediate guess would be that you've created
an infinite loop - the actionListener changes the componentPane, which
triggers the actionListener, which changes the componentPane...

Signature
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555