I think I see what you mean, and I believe it has to do with specifying an alpha value for the background color of the JButton. Every time you mouse over it, the alpha value gets a little darker....
Type: Posts; User: KevinWorkman
I think I see what you mean, and I believe it has to do with specifying an alpha value for the background color of the JButton. Every time you mouse over it, the alpha value gets a little darker....
Can you provide an SSCCE that demonstrates this problem? JButtons don't do that for me by default.
I recommend you check out the API and the basic tutorials, which incidentally are the first and second respective results for googling "java file".
Or you could just create a new File instance and use the getName() function. Probably better as it's more platform independent than using a hard-coded character that might change for different...
Escape the escape character.
System.out.println("\\");
What's your end goal with this?