Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help with Java Applets
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
zeldamaster1230




PostPosted: Thu Apr 01, 2004 9:09 am   Post subject: Help with Java Applets

I don't know if this has been asked before, but does anyone know how to make an applet stop flashing everytime a button is pressed? Or is it inevitable?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Apr 01, 2004 9:12 am   Post subject: (No subject)

you should look into double buffering methods... I think Dan might know something about that, it's a part of his project
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Dan




PostPosted: Thu Apr 01, 2004 1:52 pm   Post subject: (No subject)

that or uses sprites. alougth it greaty deponds on how u are doing things.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
rizzix




PostPosted: Thu Apr 01, 2004 3:33 pm   Post subject: (No subject)

heh look up the code in the help section it explains double buffering: http://www.compsci.ca/v2/viewtopic.php?t=3740


look at the later 2 examples..
nate




PostPosted: Tue Apr 13, 2004 9:53 pm   Post subject: (No subject)

This comes in sort of the same context with zeldamaster1230's question.

I have made this paint GUI applet thing. Basically, you can paint on the applet like a crappy half -ass paint program. Neways, i basically put every shape or line into an array, then repaint the whole array every single time. The problem inevitably occurs when the program has to repaint 200 things. This makes it flashy and slow. Finally, to avoid this problem I was wondering if there was a way to basically talke a screen shot of the applet so you would only have to repaint one screenshot of the applet and not several hundred shapes.

Thanks
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: