Yes. In the paintComponent method, I have:
<page.drawImage(gameBoardImage, x, y, null);
page.drawImage(playerOneImage, x, y, null);>
The first line makes the game board...
Type: Posts; User: jmoore
Yes. In the paintComponent method, I have:
<page.drawImage(gameBoardImage, x, y, null);
page.drawImage(playerOneImage, x, y, null);>
The first line makes the game board...
The buffered image was just used to show the game board for the user to see. This board should listen to when the user clicks on parts of the game board. For instance, if the user clicks on the top...
Well, Iwould like to have a token fall to the bottom of the board when a certain column is clicked, but I am not sure how to make the board listen. Is this possible with a BufferedImage? If so, how...
Thanks! I edited it, and not it looks like it does in Eclipse now. :)
Alright. Can anyone give me some ideas on how I can go about doing this or if it is even possible using the BufferedImage?...
Can anyone give me some ideas on how I can go about doing this or if it is even possible using the BufferedImage? Please and thank you.
I am trying to create a ConnectFour game using GUI. I created a simple interface and put a picture of the board game on there, but I am not sure how to make the game actually work using the mouse...