Re: updating an ImageIcon's backing BufferedImage content from multiple threads



Lew wrote:
Knute Johnson wrote:
Do you think that a thread enqueueing(sp) an event on the EDT with invokeLater() produces a happens before relationship with that thread even though Thread.start() is not called? Could that same mechanism work in calls to repaint()?

'start()' was called on the EDT.


A long time ago. Not when you call invokeLater().

--

Knute Johnson
email s/nospam/knute2009/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
.



Relevant Pages

  • Re: Graphics help please
    ... calls of repaint() will be coalesced by Swing when they arrive ... Although if performance is critical there are other methods such as active rendering that will significantly improve drawing performance especially on Winblows. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.programmer)
  • Re: how reapint JLabel
    ... In any case I repeat my statement, you should not need to call repaint() after calling setTexton a JLabel. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.programmer)
  • Re: Best way to force a JComponent to repaint itself
    ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.programmer)
  • Re: Best way to force a JComponent to repaint itself
    ... repaint() belongs to Component. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.programmer)
  • Re: Ill Stick to Boating, Thank-you...
    ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (rec.boats)