Playing around with JavaFx 2.0. It surely looks interesting and a great relief for desktop application developers. UI is promising. For displaying a browser inside your application,
" WebView view = new WebView(); view.getEngine().load("http://satkk.blogspot.com"); "
Add the web view to the scene and run the application. More advanced stuff is available in http://docs.oracle.com/javafx/2.0/webview/jfxpub-webview.htm
" WebView view = new WebView(); view.getEngine().load("http://satkk.blogspot.com"); "
Add the web view to the scene and run the application. More advanced stuff is available in http://docs.oracle.com/javafx/2.0/webview/jfxpub-webview.htm
public class WebEngine extends Application {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) {
primaryStage.setTitle("Hello World!");
Group root = new Group();
WebView view = new WebView();
view.getEngine().load("http://satkk.blogspot.com");
Scene scene = new Scene(view);
primaryStage.setScene(scene);
primaryStage.show();
}
}