I want to do something really simple like this:

```
JPanel htmlPanel = new HtmlPanel("<html><body><h1>hello world</h1></body></html>");

```

I think I had seen code somewhere that did exactly this. What about CSS and JS? Can the JPanel be made to support this easily? Are there libraries somewhere that do what I am asking for?