Hi guys...me again
I solved the 1st problem of the functionality of my JButtons but now i need to know if there is a method of retrieving the color property of a particular JButton? any help will be appreciated
Printable View
Hi guys...me again
I solved the 1st problem of the functionality of my JButtons but now i need to know if there is a method of retrieving the color property of a particular JButton? any help will be appreciated
The colors of components are referred to as the foreground (text color) and background colors. You can use the getters and for foreground and background to get those colors.
Documentation here!