posted 22 years ago
Yes, you missed something. It is only possible to call setDividerLocation(0.5) when the JFrame is already opened. So you have to listen for this event.
Here is a little example:
Hope this helps
Rene
[ June 26, 2002: Message edited by: Rene Liebmann ]