Page 1 of 1

File chooser inside a CefDialogHandler freezes the app

PostPosted: Tue Sep 08, 2020 2:19 pm
by rigorberto
I need to do this because under linux the file dialogs aren't there by default. I can add a custom dialog handler class to the client but if I use jfilechooser it doesn't respond to any input at all. What is the trick? Running the filechooser on another thread?

Edit: Using ExecutorService does the trick, but I wonder if there's another way