swingx
  1. swingx
  2. SWINGX-1370

Add invokeLater and invokeAndWait that allow return values

    Details

    • Issuezilla Id:
      1,370

      Description

      I have some code for returning values from the EDT with both invokeLater and
      invokeAndWait. Adding an issue, so that we can track the addition to the
      codebase.

        Activity

        Hide
        kleopatra added a comment -

        how about adding them nonetheless - if they turn out to be problematic then we
        can rename the test class to xIssues and comment why. That way we'll know they
        are tested that there might be problems.

        Cheers
        Jeanette

        Show
        kleopatra added a comment - how about adding them nonetheless - if they turn out to be problematic then we can rename the test class to xIssues and comment why. That way we'll know they are tested that there might be problems. Cheers Jeanette
        Hide
        Karl Schaefer added a comment -

        I have a couple of methods locally, but I'm not sure that consistant enough to
        add. They confirm that it is running correctly, but I get spurious failures
        due to delays in threads running (that can be caused by the machine and not the
        test case). So, yes, they're tested, but I'm not sure what best way to add
        those to the test base and have them consistantly do the right thing.

        Show
        Karl Schaefer added a comment - I have a couple of methods locally, but I'm not sure that consistant enough to add. They confirm that it is running correctly, but I get spurious failures due to delays in threads running (that can be caused by the machine and not the test case). So, yes, they're tested, but I'm not sure what best way to add those to the test base and have them consistantly do the right thing.
        Hide
        kleopatra added a comment -

        Hi Karl,

        do you see any way to test this?

        Cheers
        Jeanette

        Show
        kleopatra added a comment - Hi Karl, do you see any way to test this? Cheers Jeanette
        Hide
        Karl Schaefer added a comment -

        Issue 1370: Added invokeLater and invokeAndWait that support return values.

        swingx-core/src/main/java/org/jdesktop/swingx/SwingXUtilities.java

        Committed revision 3886.

        Show
        Karl Schaefer added a comment - Issue 1370: Added invokeLater and invokeAndWait that support return values. swingx-core/src/main/java/org/jdesktop/swingx/SwingXUtilities.java Committed revision 3886.

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            Karl Schaefer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: