2
2312qsdqw
Gast
Hi,
wenn ich was in einem Canvas zeichne, ist es sofort wieder weg. Nur innerhalb einer Schleife funzt es.. Ist das normal oder mache ich was falsch?
wenn ich was in einem Canvas zeichne, ist es sofort wieder weg. Nur innerhalb einer Schleife funzt es.. Ist das normal oder mache ich was falsch?
Java:
Graphics g = canvas.getGraphics();
while (true) {
g.drawLine(x1, y1, x2, y2);
}
}