×

UI aware method invocation transferring to java event dispatch thread

  • US 7,464,382 B1
  • Filed: 02/08/2005
  • Issued: 12/09/2008
  • Est. Priority Date: 06/25/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for transferring a method call from an invoke thread to an event dispatch thread, the invoke thread and the event dispatch thread executing independent of one another, the event dispatch thread having an associated queue, the method comprising the steps of:

  • defining a new call on the invoke thread, the new call including;

    i) identification of a method,ii) identification of an object,iii) one or more arguments, andiv) a coalescing indicator indicating a type of coalescing for the call;

    sending, during execution of the invoke thread, the new call to the queue, one or more previous calls being stored in the queue;

    coalescing the new call with one of the previous calls in the queue according to the type of coalescing indicated by the coalescing indicator;

    retrieving the coalesced new call from the queue; and

    executing the retrieved call as an event on the event dispatch thread including calling the identified method for the identified object and passing the one or more arguments.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×