×

Framework for lengthy Java Swing interacting tasks

  • US 7,584,478 B1
  • Filed: 02/08/2005
  • Issued: 09/01/2009
  • Est. Priority Date: 06/25/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for sending data from a process to an event dispatch thread for output, the event dispatch thread handling events related to a user interface, the method comprising the steps of:

  • providing the process, the process and the event dispatch thread executing independent of one another, the process generating a first method call during execution of the process and a final result upon completion of the execution of the process, wherein the first method call includes an object identifier, a method identifier, a first argument, and a partial result generated by the executing process;

    sending, during execution of the process, the first method call to a memory;

    storing the first method call in the memory, including coalescing the first method call with an existing second method call stored in the memory, the second method call further includes the object identifier, the method identifier, and a second argument, wherein coalescing the first method call and the second method call includes combining the first argument and the second argument;

    retrieving the stored coalesced first method call from memory using the event dispatch thread, the retrieving being asynchronous with sending the first method call to the memory;

    outputting the retrieved coalesced first method call as an event on the event dispatch thread such that the partial result is displayed to a user on a user interface, wherein outputting the coalesced first method call on the event dispatch thread includes calling a method identified by the method identifier for an object identified by the object identifier and providing the first and second arguments; and

    providing an indicator on the user interface indicative of the progress of the execution of the process in generating the first method call and in providing the final result.

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