ICEpdf
  1. ICEpdf
  2. PDF-453

Viewer RI launcher code not executing on AWT thread.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 4.3.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The Viewer RI periodically will show a lock error when launching related to the message and properties bundle setup. After digging a little deeper the error is the result of the Main classes call to Launhcer.main which builds and launches the Viewer UI on the main thread of instead of the AWT thread.


        Activity

        Hide
        Patrick Corless added a comment -

        Added SwingUtilities.invokeLater() to the Main class to insure the Viewer RI UI is build on the AWT thread. This resolves the file lock issue mentioned earlier.

        Show
        Patrick Corless added a comment - Added SwingUtilities.invokeLater() to the Main class to insure the Viewer RI UI is build on the AWT thread. This resolves the file lock issue mentioned earlier.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: