Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5142

Re: Coalescing Updates in MVC?

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.gui
Subject Re: Coalescing Updates in MVC?
Date 2012-05-24 15:53 -0400
Organization The Wasteland
Message-ID <nospam-28098B.15535424052012@news.aioe.org> (permalink)
References <MVC-updates-20120524124948@ram.dialup.fu-berlin.de>

Show all headers | View raw


In article <MVC-updates-20120524124948@ram.dialup.fu-berlin.de>,
 ram@zedat.fu-berlin.de (Stefan Ram) wrote:

> How is this usually handled?

java.awt.Component coalesces certain mouse and paint events in 
coalesceEvents(), which is called by EventQueue.postEvent().

When using javax.swing.Timer, isCoalesce() is true by default. In 
practice, this degrades gracefully on slower hardware.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar


Thread

Re: Coalescing Updates in MVC? "John B. Matthews" <nospam@nospam.invalid> - 2012-05-24 15:53 -0400
  Re: Coalescing Updates in MVC? Lew <noone@lewscanon.com> - 2012-05-26 12:02 -0700
    Re: Coalescing Updates in MVC? "John B. Matthews" <nospam@nospam.invalid> - 2012-05-28 23:30 -0400

csiph-web