Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java applets

Name: Anonymous 2007-06-01 19:18 ID:yPagbrMh

can someone help me maybe? i need to test some applets we're working on in class, but i can't remember the HTML code to launch an applet. there was one given to us in class, it was three lines at the beginning and end (opening and terminating command type things), with a line where we put the name of the applet in the middle.

Name: Anonymous 2007-06-01 21:13 ID:yPagbrMh

whats that mean (JFGI)?

anyway, i got another question, if anyone feels like helping. how the fuck do you animate using "repaint();"? i have two classes, one of which contains the actual code to draw  my objects (stick figures) as a void (void draw), and another that creates the object and calls the "draw();" function. this is the class that i must animate in.

to this end i have created another void command (in the stick figure class) that changes the coordinates to draw the stick figures (void move();). this command is also used in the other class (not StickFigure), in the paint(); command

my problem is that, without using repaint(); (and instead just using a for loop with move(); and draw(); commands), all my objects leave trails of themselves (and my stick figures make big blocks), because the screen never clears. when i do use repaint(); , any of the stick figures i move don't appear at all, and the others are afflicted with a nasty flicker.

if someone can link me to that neat site where you can upload code (i lost the link when i had to reinstall firefox), i'd be very appreciative, and could probably give a better idea of my problem. thanks in advance for any help.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List