I just attended a week of programming camp at which we were using Windows 7 with Eclipse Indigo. I made a TicTacToe game using JButtons. Upon returning home, I loaded my files from a flash drive to my home computer (Mac Snow Leopard running Eclipse Juno) and imported all of my projects. My JButtons were all colored light grey when display on Windows, and changed to white when the square had alright been used, however on my Mac, I receive no such luck. My buttons are all the generic white color. Is there any way I can have the colors display on OS X, or does it not work?

My second question pertains to the constant annoyance of "highlighting". For some reason, I can't find any forum threads that touch upon this issue anywhere on the internet (either because people who encounter it are smart enough to fix it or because no one is smart enough to ask), so I decided to make my own. Essentially, the boxes have a highlight around them that I can't seem to get rid of. I have included a picture.Attachment 3952
I've tried:

Code:

button1.setBorderPainted(false);

but that doesn't work because that makes the entire border invisible, not just the highlight. Included is a link to a pastie of both classes (I felt they were too long to include in a CODE tag).