You can display very simple html pages (nothing too fancy with CSS3, Javascript and stuff) within a JScrollPane.
JTextPane tp = new JTextPane();
JScrollPane js = new JScrollPane();
js.getViewport().add(tp);
JFrame jf = new JFrame();
jf.getContentPane().add(js);
jf.pack();
jf.setSize(800,800);
jf.setVisible(true);
try {
URL url = new URL("http://www.google.com");
tp.setPage(url);
}
catch (Exception e) {
e.printStackTrace();
}
You can also use html pages within a jar file and load them like this:
URL url = getClass().getResource("contents.html");
tp.setPage(url);
You can react on links within the ScrollPane using the HyperlinkListener.
There is a more sufisticated tutorial on this on http://www.java2s.com/Tutorial/Java/0240__Swing/HyperlinkListenerExample.htm
Happy coding :)