If the button doesn't nothing, it is because you didn't code an event for it :-). There is no magic, you write the events for button click, keyboard mappings,mouse behaviour(right click), url navigation.
This page might help you :
http://www.apl.jhu.edu/~hall/java/Sw...ditorPane.html
There is an effort for a swing xhtml renderer at
https://xhtmlrenderer.dev.java.net/. Indeed, jeditorpane only support html 3.x, old css,etc. so it doesn't play well with lots of pages.
You will have to investigate for the real part(javascript, flash and the rest).
FYI:
The browser from sun microsystems(who create java you know) called hotjava which is at version 3.0, i think, is far from being complete. The css, html support is old and won't work for some web sites. I don't know if they supported flash and the recent css specifications.
hotjava is supposed to be opensource by Sun someday. When it will be you can try to improve it for your needs.