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

Swing and Threads

Name: Anonymous 2010-12-13 8:48

Hey, /prog/, I could use some help with my java homework.

I'm making a turn based game against a computer and after I make my move, I create a task that shows the computer moving the piece smoothly. All the numbers are right, but it just flat out won't call my paint method when I call repaint so it ends up just pausing for a moment and then instantly moving the piece to where it should end up.

I think this problem has something to do with different threads, but I've never really worked with multithreading before.

Have any ideas? Thanks for any and all help.

Name: Anonymous 2010-12-13 15:13

>>12
You can just hang the ends of one thread high and sit on the middle.

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