File chooser inside a CefDialogHandler freezes the app

Having problems with building or using the JCEF Java binding? Ask your questions here.

File chooser inside a CefDialogHandler freezes the app

Postby rigorberto » Tue Sep 08, 2020 2:19 pm

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
rigorberto
Newbie
 
Posts: 8
Joined: Sat Aug 29, 2020 9:36 am

Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 7 guests