2
A
回答
2
嘗試使用一個PropertyChangeListener:
JEditorPane html = new JEditorPane();
html.addPropertyChangeListener("page", this);
try
{
html.setPage(new URL(webURL.getText()));
}
catch(Exception exc)
{
System.out.println(exc);
}
...
public void propertyChange(PropertyChangeEvent e)
{
System.out.println("Page Loaded");
}
有一段時間的初始頁面加載後,事件就會被解僱,但之前加載的所有子圖像。然而,我只是做了一個快速測試,並且在頁面和圖像加載完成後,它現在會啓動。
相關問題
- 1. onready/onload for document.innerHTML change
- 2. 劍道圖。 onReady事件
- 3. expand collapse JeditorPane
- 4. JEditorPane中的NewLine
- 5. JEditorPane HTML呈現
- 6. Java JEditorPane格式
- 7. 從JEditorPane打印
- 8. HttpClient - Cookie和JEditorPane
- 9. JEditorPane中的換行
- 10. Swing JEditorPane CSS功能
- 11. JEditorPane中,在文本
- 12. 快速寫入JEditorPane
- 13. EXTJS - 內部腳本的Ext.require和onReady()
- 14. 不一致JDA OnReady不起作用
- 15. 外部onReady訪問extjs元素
- 16. AJAX級聯DropDown JavaScript事件onready
- 17. 如何使用jQuery禁用按鈕onReady
- 18. YouTube AS3 API(onReady不適用更多?)
- 19. 調整JEditor中的JEditorPane
- 20. JEditorPane顯示HTML轉儲
- 21. Java JEditorPane不顯示圖像
- 22. JEditorPane是最後一行
- 23. 的JButton在一個JEditorPane
- 24. Java - JEditorPane - 超鏈接問題
- 25. 將圖像粘貼到JEditorpane
- 26. 自動視圖定位JEditorPane
- 27. JEditorPane - 使製表符空格
- 28. 在JEditorPane中選擇元素
- 29. 在JEditorPane中高亮顯示
- 30. 如何追加到JEditorPane?
你是一個揮杆專家 – 2015-11-19 21:00:11