Checkers game switch between black and white

Hey,
I want to put in a button so when you puch the button the other player can be activated and the last player is turned non-active.
I thougth I could do this in the controller, I'm working with mvc, so when the button is pressed an int is raised by one and in the
mouselistener I can use this int to say if he may pick a black or white checker. But I don't know how to get this int, that I have put
in the actionPerformed, out of the void actionPerformed and in to the void mouseClicked.
greets

Or is there an other easier way to switch between my two different checkers???
greets

Similar Messages

  • Is there any differences between black and white ipod touch ?? only the color or there are hardware differences?

    is there any differences between black and white ipod touch ?? only the color or there are hardware differences?

    You're welcome.
    What?
    Sorry, but no. The parts are identical with the only difference being a white housing or a black housing.

  • Are there any differences between black and white?

    Hi, this is the question:
    Are there any differences between a black and a white macbook (2,0 Ghz) except the coulor? I am thinking about buying a macbook but i dont know really what to do
    Coul someone help me plz?

    This page explains the differences between the two white macbooks and the black mac book: http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wo/0.RSLID?mco=A 4791B5D&nclm=MacBook
    It should answer any questions you have about all three.
    The lowest price macbook has a less fast processor, and the same size hard drive as the middle priced macbook. The lowest priced one also does not have a DVD burner while the middle priced white one does and the black one.
    The black macbook has a bigger harddrive then the middle priced macbook and thats about all thats different between the middle priced white one and the black one.

  • Color differs in richness between black and white 30gb iPods

    Has anybody noticed that the color on the newer black iPods is not as rich as it is on the white iPods? My friend just bought a white one, and I just bought it in black, and in comparing the color, his is much better in detail and fullness.
    iBook G4   Mac OS X (10.3.7)  

    Go to System Preferences > Universal Access > Seeing tab and in the display section uncheck the "Use grayscale" checkbox.
    Hope this helps...
    (If the box was not checked, post back and we'll try some other steps.)

  • Is there any price differnce between black and white ipads?(ipad)

    just asking! i was wondering if there is any price difference between the whit and balck ipad2......

    Apart from the colour no, the prices and specs are the same.

  • Why does photoshop freeze every time I switch a photo to black and white?

    Why does photoshop freeze every time I switch a photo to black and white?

    Nobody can tell you anything without proper system and version info or other technical details, including what you actually mean by "switch to black and white".
    Mylenium

  • Half Black and White half Color Video

    Is there a way to take a full color video and make half of the video black and white and the other half full color?  For instance imagine a line down the center of the video, on the left the video is black and white, on the right side it's full color.  Taking that concept if an object or person moves from the left to the right side of the screen, thus crossing that invisible line they automatically switch from black and white to color.
    Almost like a video mask overlay..  How would I accomplish this in FCP?  I have FCPS  not FCPX

    Why would duplicating the video onto a track above mess up the sync?
    What you need to do is edit your piece first, once EVERYTHING is where it should be, THEN do the effects...
    unlink your audio (shift-L), select all of your video clips, shift-option click and drag up. Select one of your clips, apply the desaturate or channel mixer effect and the crop... Now, if you do not have any other filters already applied to your clips, select your clip and press command-c to copy. select the rest of the clips that will be destaurated/cropped and right click, select paste attributes. Select filters and Crop, and viola... Tell me where the loss of sync is?
    Make sure to press shift-L again so that your audio & video is linked.

  • Why is my ipad screen coming on in black and white?

    why is my ipad screen coming on in black and white?

    I went into Zoom and tried it...no good... my daughter said she was playing Dinosaur Hunter Survival, last night,  when it went black and white .....   now, when I went into that Game this morning..a Basketball AD  came on in Color...then the game started in black and white again   

  • In cs5 i can't stop it from making all of the layers black and white. help?

    literally the layers just switch to black and white and i didnt even choose a black and white option idk

    You need to ask in the forum for the program you are using
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How to make a movie half black and white and half color

    Is there a way to take a full color video and make half of the video black and white and the other half full color?  For instance imagine a line down the center of the video, on the left the video is black and white, on the right side it's full color.  Taking that concept if an object or person moves from the left to the right side of the screen, thus crossing that invisible line they automatically switch from black and white to color.
    Almost like a video mask overlay..  Is that possible in iMovie?

    When I do that it only makes a short portion (the top video) color somehow it shortens the clip to 2 seconds, I tried to edit for the full 47 second clip (just a sample to play with) but it keeps going back to 2 seconds for the top video. 
    Any other ideas?  I do have Final Cut Pro as well as Adobe After Effects as well, but I just figured iMovie would be easiest way to do this simple effect...

  • When I set black point on windows, the image switches between blank and full image, why?

    when I set black point using windows, the image switches between blank and full image, why?

    I set black point with alt button down while I move sllider. When black
    dots show, I stop and back off a bit.  That's the normal result. Normally a
    white screen appears until I release the alt key. In my case, sometimes the
    screen goes from white to full image. It's not all the time. I view my
    power and ram use as I work and it doesn't spike when this happens.  It's
    as if the alt key command is not holding.  I've used both alt keys with
    same results.
    Thanks for responding.  I hope you have some ideas.

  • Any difference between iphone 5 black and white

    hi all, i want to know any difference bet iphone 5 black and white. thank u

    i believed ever since there is difference between the white & black iphone ... the white is automatic detection  means if some1 is calling you & you put already in your ear the white iphone automatically turn off the light while in the black no...thats why the black is easily get hot

  • When switching my iPhone on a message appears in black and white tiny writing on the top left hand corner. It displays the apple sign but won't let me do anything.

    When I switched on my iPhone tonight it displayed the apple sign but in the top left hand corner a message appears in tiny writing in black and white and it doesn't let me go any further. I've tried holding both buttons down to reboot but it is still the same when I switch it back on.

    Hi I can't read the message displayed as the writing is so tiny and cryptic. It starts with one line of text but continues down the page.

  • Color switches to a black and white screen after login

    iMac 700MHZ Graphite 10.3.9 color issue. When I am logging in the screen is in color but after login when it switches to my desktop the color also switches to a black and white screen. The other user of this computer does not have any problem with the color on his desktop. Has anyone run into this problem before? Any help would be greatly appreciated.
    Thank You
    DP

    Go to System Preferences>Universal Access, the 'Seeing' pane and uncheck 'use greyscale'.

  • Help! Photoshop is in RGB mode but I can only paint in black and white

    It seems like Photoshop is stuck in B&W. As soon as I open my document, it shows at the top that it is in RGB/8 mode. I've tried clicking Image>mode>RGB again just to be sure but it's already set to RGB. The document is one layer so there's no way another layer is affecting it. Does anyone have an idea what may be going on? I'd appreciate any help I can get!

    If it says rgb/8 then it is in rgb 8 bit mode.
    If your opening a file, it could be 1 or more of the channels are missing or a single channel is selected. Take a look at the channels panel and see if the RGB channels are there and RGB is selected.
    {odds are this is not it as the name of the channel would replace RGB/8 ex. selecting the B channel would display Blue/8 instead of RGB/8}
    Make sure your document is not in quickmask mode (hitting the q key switches between quickmask and normal mode)
    {odds are this is not it as quickmask/8 would be displayed instead of rgb/8}
    Make sure you don't have a mask selected
    {Odds are this is not it as layer mask/8 would be displayed instead of RGB/8}
    Take a look at your swatches and verify there are colors there and not shades of gray
    {Odds are this is not true because RGB/8 is displayed}
    And finally verify what adjustment layers are applied to the layers panel - Several adjustments are capable of changing the display to black and white while retaining the RGB/8 mode.
    If none of this helps then post a screen shot of photoshop with the layers panel and the channels panel open. You can drag a panel away from the docked position to keep it open.

Maybe you are looking for