bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/24359] JPopupMenu broken due to BoxLayout/SizeRequirements ch


From: roman at kennke dot org
Subject: [Bug swing/24359] JPopupMenu broken due to BoxLayout/SizeRequirements changes
Date: 24 Oct 2005 09:02:56 -0000


------- Comment #4 from roman at kennke dot org  2005-10-24 09:02 -------
I committed a fix that makes the BoxLayout thread-safe. I can see no reasonable
way to handle this since even if we clean up our code so that
preferredLayoutSize is only called from the event thread, there's always the
possibility that application threads call one of the layout manager methods.
Yes, Swing is designed to be not thread-safe, but there are several
(documented) exceptions, like the text stuff (which also makes heavy use of
SizeRequirements btw).

Could you please retest?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24359





reply via email to

[Prev in Thread] Current Thread [Next in Thread]