Re: About swing Timer and synchronized
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 15 Nov 2007 22:58:20 GMT
On Thu, 15 Nov 2007 13:50:48 -0800 (PST), marpauser@xxxxxxxxx wrote,
quoted or indirectly quoted someone who said :
I would like your comment about synchronized and
SwingUtilities.invokeLater in this example with javax.swing.Timer:
There is no need for synchronized with javax.swing.Timer. It never
invokes more than one event at a time. Further, System.out.println is
thread safe.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- About swing Timer and synchronized
- From: marpauser
- About swing Timer and synchronized
- Prev by Date: Re: Great SWT Program
- Next by Date: java and mysql
- Previous by thread: Re: About swing Timer and synchronized
- Next by thread: java and mysql
- Index(es):
Relevant Pages
|