I have a situation right now where I am experienceing it more often than not
when
trying to bring up a JOptionPane. I've tried a number of things, such as
making sure that
I do in the SwingEvent Thread, making sure I do it not in the Swing event
thread, calling yield
before i create the dialog, all with the same result.
I then switch to the IBM 1.3 jdk and have not experienced the problem. I
thought that this might
indicate that hotspot is to blame so I went back to the Blackdown jdk and
tried it with -Djava.compiler=none
but it still happens.
> -----Original Message-----
> From: Miloslaw Smyk [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 08, 2001 2:57 PM
> To: Martin, Stephen; [EMAIL PROTECTED]
> Subject: Re: Messed up swing windows
>
>
> "Martin, Stephen" wrote:
> >
> > I often have a problem where my Swing windows get created
> messed up. I've
> > attached
> > a couple of gifs to show what I mean. This usually (if not
> always) happens
> > with a
> > frame or dialog is being created and is not 100%
> reproducible. My guess
> > would be that
> > it is the result of a race condition but I have no idea how
> to work around
> > it. My solution
> > to date is to simply kill that application and start it
> again. It happens
> > under both the
> > latest Blackdown and Sun 1.3 jdks (and all other JDKs in
> the last 6 months
> > or so). I don't
> > think it happens under windows. Is this a known problem, or
> something I'm
> > doing wrong with
> > Swing? My apologies if sending images to the list is taboo,
> but it's the
> > best way to show what
> > is happening.
>
> Noticed it many times. Try resizing the window after a few
> seconds. Looks
> like race condition to me, too. Perhaps someone can comment...
>
> Milek
> Ps. It happens under Windows, too.
> --
> mailto:[EMAIL PROTECTED] | "Man in the Moon and other
> weird things" -
> http://wfmh.org.pl/~thorgal/ | see it at
> http://wfmh.org.pl/~thorgal/Moon/
> Fight for the good cause: http://www.laubzega.com/dvd/
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]