This is a JavaFX example for the MapPanel component. Below you see the MapPanel embedded in this webpage via javafx. This worked fine on my windows box running jdk1.6 Update 13, but on my wife's box running update 17 it wouldn't.

See the MapPanel Page for more infos. The sourcecode for javafx can be found here.