You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where I want to create a view with an embedded browser. I want to customize the browser style of SWT.EDGE in the BrowserViewer class. The current code does not allow changing it in the subclass.
// Add a protected method to allow custom styles
protected int getBrowserStyle() {
return SWT.NONE; // Default style
}
// Use the method to set the style for the Browser object
this.browser = new Browser(this, getBrowserStyle());