Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Constructor of Browser class get stuck with org.eclipse.swt.win32.win32.x86_64-3.118.0 (Browser class constructor stuck with SWT org.eclipse.swt.win32.win32.x86_64-3.118.0 and eclipse version 2021-12 (4.22.0) and Java 11)
Constructor of Browser class get stuck with org.eclipse.swt.win32.win32.x86_64-3.118.0 [message #1850113] Wed, 16 February 2022 09:18
Eclipse UserFriend
We are using eclipse plugin view and passing its composite and SWT.EDGE/SWT.NONE to Browser constructor but this constructor get stuck in runtime. However with stand alone application where we use SWT default display and pass it to the same constructor then its working.
Code snippet :

@Override
public void createPartControl(Composite parent) {
.......}

.....
browser = new Browser(parent, SWT.NONE); // ..1

OR

browser = new Browser(parent, SWT.EDGE); // ..2


It get stuck with the 1 or 2 constructor.

Please suggest.

Same solution is working with Java 1.8.0_171 Eclipse Mars.2 Release (4.5.2)


Previous Topic:SWT image: Open Windows Meta File (WMF)
Next Topic:Unable to get Vertical ScrollBar for a Combo
Goto Forum:
  


Current Time: Mon Jun 30 18:40:07 EDT 2025

Powered by FUDForum. Page generated in 0.02820 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top