Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Backgammon Game checkers

843806Jan 15 2008 — edited Jan 16 2008
hi to all and Happy new year!

i have a project (at java lesson) which deadline is on thursday.
the project is to make a backgammon game.

my problem is that i cannot make the checkers.

i tried to make them as JLabels with icons but i couldnt move them even though i added mouseListener and mouseMotionListener.

then i made a class in which i paint the checkers and i also implemented all mouseListener and mouseMotionListener
methods.

the problem is that when i create and try to add to the Board JLabel(the backgammon board) i can move only the first checker that i added.


any ideas on how i can make the checkers finally?

P.S i know my questions seem at least funny but i started programmin with java only 1 month ago as I work only in
C except now.

Sorry about my English!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2008
Added on Jan 15 2008
4 comments
274 views