Hi, I have built a chess game, and I've got a GUI up and running, but at the moment, I'm just using Strings for the pieces. eg "q" for white queen, "Q" for black queen. Does anyone know how to get jpg images inside a Java Frame. Or failing that, I cud try drawing sum pieces. Any ideas?
you'v to have in mind that every piece has to have two diferent (white and black) backgrounds [ May 29, 2005: Message edited by: miguel lisboa ]
Joined: Apr 11, 2005
Hi, Thanks very much. I've copied and pasted the code. I'm pretty sure you need your import statements at the top. Anyway, it works with these at the top, but I just have an empty frame. Im not sure how the following bit works exactly: