W
whobble
Gast
Ich will mir gerade ein Tooltip schreiben, habe aber probleme den String in Java zu formulieren wegern der Gänsefüßchen ^^... hier mein html code
ich bin leider nicht in html vesiert um die zu umgehen und auch nicht in Java -.-, weshalb ich mir das stück html mit Macromedia machen musste ^^...und in java halt keine möglichkeit finde dies zu umgehen
[Edit by foobar: Zeilenlaenge angepasst]
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-image: url(background5.jpg);
background-repeat: no-repeat;
}
.style1 {color: #FFFFFF}
body,td,th {
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
}
-->
</style></head>
<body>
<pre><span class="style1">Kosten</span>
Ressourcen + Standardcrew:
[img]met.gif[/img]<span class="style1">0</span>
[img]min.gif[/img]<span class="style1">0</span>[img]lat.gif[/img]0 [img]arb.gif[/img]
0
[img]med.gif[/img]0[img]tech.gif[/img]0
Bauzeit:0
BesatzungsKosten:
[img]lvl1.gif[/img]0 [img]lvl2.gif[/img]0
[img]lvl3.gif[/img]0 [img]lvl5.gif[/img]0
Daten:
</pre>
<table width="261" border="0">
<tr>
<td width="96"><pre>L. Waffen </pre></td>
<td width="9"><pre>0</pre></td>
<td width="100"><pre>Reaktion</pre></td>
<td width="38"><pre>0</pre></td>
</tr>
<tr>
<td><pre>Schw. Waffen </pre></td>
<td><pre>0</pre></td>
<td><pre>Bereitschaft</pre></td>
<td><pre>0</pre></td>
</tr>
<tr>
<td><pre>Pl. Waffen </pre></td>
<td><pre>0</pre></td>
<td><pre>Wendigkeit</pre></td>
<td><pre>0</pre></td>
</tr>
<tr>
<td><pre>Schildst&rke</pre></td>
<td><pre>0</pre></td>
<td><pre>Erfahrung</pre></td>
<td><pre>0</pre></td>
</tr>
<tr>
<td><pre>H&lle</pre></td>
<td><pre>0</pre></td>
<td><pre>&</pre></td>
<td><pre>&</pre></td>
</tr>
<tr>
<td><pre>Warp</pre></td>
<td><pre>0</pre></td>
<td><pre>&</pre></td>
<td><pre>&</pre></td>
</tr>
<tr>
<td><pre>Sensoren</pre></td>
<td><pre>0</pre></td>
<td><pre>Energiestatus:</pre></td>
<td><pre>&</pre></td>
</tr>
<tr>
<td><pre>Tarnung</pre></td>
<td><pre>0</pre></td>
<td><div align="right">
<pre>0</pre>
</div></td>
<td><pre>0</pre></td>
</tr>
</table>
<pre>&
</pre>
</body>
</html>
[Edit by foobar: Zeilenlaenge angepasst]