Remove HTML content from a css file. The html part is now moved into Java.

This issue had been reported at http://sourceforge.net/tracker/?func=detail&atid=879335&aid=2874694&group_id=176962
This commit is contained in:
felixmoeller 2010-04-16 20:08:25 +00:00
parent 46bbb4ddbb
commit ad5916d7c1
2 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,10 @@ public class HtmlDashboard extends JPanel implements MouseListener,
ins = new InputStreamReader(url.openStream());
BufferedReader bufferedReader = new BufferedReader( ins );
String cssLine;
result += "<style type=\"text/css\">";
while ((cssLine = bufferedReader.readLine()) != null)
result += cssLine + "\n";
result += "</style>";
} catch (IOException e1) {
log.log(Level.SEVERE, e1.getLocalizedMessage(), e1);
}

View File

@ -1,4 +1,3 @@
<style><!--
body {
margin-top: 0px;
margin-left: 0px;
@ -50,4 +49,3 @@ body {
.tdcontent {
background-color: #D6E1DD;
}
--></style>