...
Code Block |
---|
System.setProperty("xr.util-logging.java.util.logging.ConsoleHandler.level", "OFF"); //do this ASAP
HTMLScrollPane htmlScrollPane = new HTMLScrollPane();
Container myContainer = ...;
... //do layout
myContainer.add(htmlScrollPane, ...); /
String html = ...;
htmlScrollPane.setStyledData(html);
|
...
When the infrastructure is ready, you might want to upload your XSLT style sheets to a web server. You can easily construct a URL in such case:
Code Block |
---|
URL url = new URL("http://...");
|
We recommend that you externalize all your URLs (or any strings, for that matter).