Chess « Development « Java Swing Q&A





1. writing chess engine for arena gui    stackoverflow.com

so i'm intertested in implementing a chess engine for arena gui http://www.playwitharena.com/ my question is, do any of you know some sort of information regarding the specific guidelines that you ...

2. chess programming    coderanch.com

hi guys, i want to write a chess game and just dont know how i could make the visual part of the game in swing. i haved searched this forum for older topics but didn't found anything that could help me. what i want to know is which components do i have to use to draw the board and put the ...

3. Java Chess Code Help    coderanch.com

4. chess game : moving piece    coderanch.com

i am try to make a simple 2player chess game... problem:- when i did wrong move then it comes to its original position but then after i can't move it again...why this is happening?? also suggest some more efficient mechanism .... ] if(true) // then move { chessPiece.setVisible(false); Component c = chessBoard.findComponentAt(e.getX(), e.getY()); if (c instanceof JLabel){ Container parent = c.getParent(); ...

5. Help with Chess GUI    java-forums.org

I've been working on a Chess program GUI. I've set this up as JButtons in a GridLayout, except I made a subclass of JButton (JGridButton) that stores its position on the gird. To find out from which JButton the event was fired, I'm using getSource() (Is there any other way to do this?). Since this returns an Object and not the ...

6. chess game! plz help!    java-forums.org

I'm going to program a 2 player chess game.. it would be too simple! even not use mouse! where should i start!? I started a little, but now it seems to be unusable.. My problem is , using jLabels.. for moving, it get the coordinate and move the jLabel by .setLocation(); I don't now if use jLabel in a class for ...

7. making a chess board gui    java-forums.org

hi, I am new to gui with java and i am having trouble making a GUI that represents a chess board. I can get a grid just fine, but when it comes to the event handler, I am having trouble. I want it to work so that when you click on one square, the contents are stored in the event handler, ...

8. Chess: Java Swing problem!! Help need    forums.oracle.com

Hi, I have just learn java swing and now creating a chess game. I have sucessfully create a board and able to display chess pieces on the board. By using JLayeredPane, I am able to use drag and drop for the piece. However, there is a problem which is that I can drop the chess piece off the board and the ...