JxBrowser 2.0 EAP2 Release Notes

API changes:

  • JxBrowser 1.x classes and interfaces from com.teamdev.jxbrowser.* package were moved to com.teamdev.jxbrowser1.*
  • JxBrowser 2.x classes and interfaces from com.teamdev.jxbrowser2.* package were moved to com.teamdev.jxbrowser.*
  • Package com.teamdev.jxbrowser2.promptservice was renamed to com.teamdev.jxbrowser.prompt
  • Package com.teamdev.jxbrowser2.scriptwatcher was renamed to com.teamdev.jxbrowser.script
  • Updated ContextMenuHandler.showContextMenu(ContextMenuEvent event) method so that it doesn't return JPopupMenu instance anymore. It allows displaying any contextual menu (not only Swing)
  • The com.teamdev.jxbrowser2.WebProgress interface was renamed to com.teamdev.jxbrowser.ContentLoading
  • Removed com.teamdev.jxbrowser2.Synchronous annotation
  • The NewWindowContainer.setBrowser(Browser browser) method was renamed toNewWindowContainer.insertBrowser(Browser browser)
  • The com.teamdev.jxbrowser2.NewWindowInfo class was renamed to com.teamdev.jxbrowser.NewWindowParams
  • The com.teamdev.jxbrowser2.events.WebEvent class was renamed to com.teamdev.jxbrowser.events.BrowserEvent
  • The com.teamdev.jxbrowser2.events.HistoryChangeEvent.ChangeType is moved tocom.teamdev.jxbrowser.events.HistoryChangeType
  • Changed methods signatures in com.teamdev.jxbrowser.prompt.PromptService interface


New Features:

  • Cookie management functionality (IE engine) - allows receiving, updating, deleting Browser cookies.
  • Cancel navigation functionality (IE, Mozilla, WebKit engines) - allows receiving notification before web page loading starts and canceling navigation if needed.
  • MIME type handling functionality (WebKit engine) - allows making a decision whether to display content with a specified MIME type or not.
  • Added Navigation.waitReady method that allows blocking current thread execution until document is loaded completely



  • NewWindowHandler should provide a new window bounds according to passed window features through window.open JavaScript function


Resolved Issues:

  • Load URL with POST data hang on Mozilla engine
  • DefaultNewWindowManager doesn't close JFrame after window.close JavaScript is invoked
  • Mozilla engine hangs on printPreview or print method
Login to post a comment