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.