Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3827

JvOptionPane dialogs inconsistent between java and js

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.12.0, 2.12.0_js
    • Fix Version/s: None
    • Component/s: gui, jalview-j2s
    • Labels:

      Description

      Current implementation of JvOptionPane uses Runnables to asynchronously execute the dialog response when platform is js but block and return selected value in java. It would be preferrable to treat all dialogs with the same pattern i.e. using CompletionStages in each case. It would ensure more consistent code regardless of dialogs blocking EDT or not.

        Attachments

          Activity

            People

            Assignee:
            mmwarowny Mateusz Warowny
            Reporter:
            mmwarowny Mateusz Warowny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: