Article View: borland.public.jbuilder.java.swing
Article #1557SwingUtilities invokeLater
From: Aleksandar Pecanov
Date: Thu, 09 Oct 2003 00:19
Date: Thu, 09 Oct 2003 00:19
7 lines
1447 bytes
1447 bytes
I remember that while working on Windows, when I wanted to run a separate thread to aupdate a swing component (for example a memory indicator), I had run the thread with SwingUtilities.invokeLater(). However, while working under Linux, I forgot to use it. The component worked fine. Is the implementation of threads and thread synchronization in Java different on Windows and Linux. If so, where can I find more information about what should I pay attention when developing multiplatform Java Application?
Technical Details
Message-ID:
<pan.2003.10.09.00.19.45.9367@mt.net.mk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5cfd93ea3d2790a7,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-10-08 17:39:36 PST From: "Aleksandar Pecanov" <pecanov@mt.net.mk> Subject: SwingUtilities invokeLater Date: Thu, 09 Oct 2003 02:19:46 +0200 User-Agent: Pan/0.13.4 (She had eyes like strange sins.) Message-ID: <pan.2003.10.09.00.19.45.9367@mt.net.mk> Newsgroups: borland.public.jbuilder.java.swing MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 217.16.64.124 X-Trace: newsgroups.borland.com 1065658734 217.16.64.124 (8 Oct 2003 17:18:54 -0700) Lines: 8 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail