Hi:

        Yesterday, I posted the following problem:


>         My GUI components do not show up when I first start up the program
> on a
> PC machine.  I have to resize the window or do something to cause the
> window to
> repaint in order for them to show up.  It works fine though on the Solaris
> machine.

        I've solved my problem and just wanted to post solution to the list in
case someone goes looking through the list archives ...

        It turns out that I have setSize() *before* the getContentPane().add().
When I move the setSize() to *after* the getContentPane().add(), the problem
went away.

        Funny, this was only a problem for the PC and not the Solaris machines
...

        My thanks to Dmitri for trying to help me debug the problem!!

Cheers,

Mona

==================================================================
Mona Wong-Barnum
National Center for Microscopy and Imaging Research
University of California, San Diego
http://ncmir.ucsd.edu/

"The truth shall set you free, but first it will piss you off"
                                A Landmark instructor
==================================================================

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to