habs hinbekommen (mit hilfe). kommt an deine lösung gut ran :)
so siehts bei mir aus:
public void paintTriangle( Graphics g, int x, int y, int width, int height )
{
// Die horizontale Linie
g.drawLine( x, y, x+width, y);
// die anderen zwei
g.drawLine( x, y, x+(width/2), y-height...