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:
Anonymous2007-06-01 19:22 ID:yPagbrMh
whoops, nevermind, my editing environment thingy makes it for me. thanks anyway /prog/, i'm sure you would have pulled through
Name:
Anonymous2007-06-01 19:29 ID:r3FvkLGk
JFGI
Name:
Anonymous2007-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.
i did, can't find shit. it took me a half hour just to find the API file for repaint();, and that wasn't any help. i figure somebody here must know this (this is an introductory java course...).
Name:
Anonymous2007-06-01 21:58 ID:RqG8LKdj
10 DRAW
20 MOVE
30 ERASE ORIGINAL
40 GOTO 10
Name:
Anonymous2007-06-01 22:00 ID:yPagbrMh
yes, but HOW do i erase the original? i have to use repaint(); and the dual class setup, that's the point of the exercise.
Name:
Anonymous2007-06-01 22:09 ID:yPagbrMh
is there a way to use repaint(); outside of the objects paint function? (i think) the problem i have is that whenever i try to do that, it won't compile, and when i do include repaint(); inside of the paint command, it created a type of infinite loop, and produces all the effects i am trying to avoid (flickering of still images and the vanishing of any moving ones).
>>12
i'd like to thank you, but i have no idea what anything on that link means. seeing as the rest of the front page is pretty much all spam, i figured i might bump this, in hope of not failing this assignment.
>>31
and drink her salty cum right off her slit underwater
Name:
Anonymous2007-06-05 17:16 ID:XKD1NyOn
>>31
Hmmm... I always wondered if she'd be nasty in bed, she gives me kinky vibes. Every time I play Zelda 64 I have to stop after saving her to fap to Princess Ruto lemon fanfiction and hentai.