Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi everybody, i’m trying to open a pdf file in Java Swing SWT Browser. I can open the pdf, and closing it, and open the same or different pdfs without any error.
But when I rewritten the pdf, (same url, different content) i get “Widget is disposed” error. It does not create a new browser.
How can i open the rewritten pdfs with swt browser?

What I have tried:

I tried create the shell and display after disposed but did not work.
Also Display.getDefault.asyncExec did not work.
Posted
Comments
Richard MacCutchan 29-Sep-22 3:41am    
Since we cannot see your code we cannot make any suggestions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900