附上两方法api. NativeInterface.open(); open public static void open()Open the native interface, which creates the peer VM that handles the native side of the native integration. Initialization takes place if the interface was not already initialized. If initialization was not explicitely performed, this method should be called early in the program, the best place being as the first call in the main method. NativeInterface.runEventPump();runEventPump public static void runEventPump()Run the native event pump. Certain platforms require this method call at the end of the main method to function properly, so it is suggested to always add it.
NativeInterface.open(); open
public static void open()Open the native interface, which creates the peer VM that handles the native side of the native integration.
Initialization takes place if the interface was not already initialized. If initialization was not explicitely performed, this method should be called early in
the program, the best place being as the first call in the main method.
NativeInterface.runEventPump();runEventPump
public static void runEventPump()Run the native event pump. Certain platforms require this method call at the end of the main method to function properly, so it is suggested to always add it.
你Google下DJNativeSwing啊, 它的主页肯定有啦...整个框架都可以download下来.
下载页面..
super.addWebBrowserListener(new WebBrowserAdapter() {
public void loadingProgressChanged(WebBrowserEvent e) {
// load finish
if (e.getWebBrowser().getLoadingProgress() == 100) {
}
}
});