我遵循来自 https://jxbrowser.support.teamdev.com/support/solutions/articles/9000012874-google-maps的教程
我已经创建了 2 个文件。
1.map.html
2.GoogleMapsSample.java
当我运行程序时,我得到一个错误“找不到这个网页”。我认为这是因为代码
browser.loadURL("map.html");
当我将“map.html”更改为“ http://www.google.com ”时,它正在工作。
所以,我的问题是我必须把 map.html 放在哪里?
我已经尝试放入根项目,相同的包它不起作用。
我使用netbean 8.1
谢谢你。