Is there any way to color a JButton? I want to change it's color after it's pressed to show that it has been pressed. Is there a way that I can do this?
Also, in a JFrame, is there a way to make it so that the whole contents of the window will stretch to the fill the frame when the window is maximized?
Thanks, I appreciate it.