Drawing triangles using java applets

hello,

I am making an applet in java 5.0. I need help drawing a basic triangle. I have searched the java documentation but it wasn’t that much of help. Please help, thanks!