Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to find JWebPane in jdk 7

Tags:

java

java-7

i wanted to use java Browser component that is suppose to be there in jdk 7 (javax.net package ) by class JWebPane but couldn't find it.

like image 476
Pravin Avatar asked Nov 25 '13 08:11

Pravin


1 Answers

JWebPane was supposed to be included in Java 7, but it ended up as javafx.scene.web.WebView in JavaFX 2.0. Since 1.7_06 JavaFX 2.0 is part of the jre-release, but when using eclipse you have to explicitly include the jar on the build path since eclipse doesn't include it in the runtime library.

like image 133
piet.t Avatar answered Nov 15 '22 10:11

piet.t