jwebbrowser

How to update new tab title?

社会主义新天地 提交于 2019-12-12 04:19:51
问题 I'm trying to build a web browser in java swing where i added new tab option by adding JTabbedPane . But i want to update my current tab title when i browse another web page or urls etc. I used WebView and WebEngine as html parser. I tried to update title name using WebEngine.getTitle() it didn't work. Here is my constructor: public class Hello extends JFrame { private JButton backButton = new JButton(); private JButton newPage; private JButton forwardButton = new JButton(); private JFXPanel