Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aJToggleButton.setBackground(new Color(aJPanel.getBackground().getRed(), aJPanel.getBackground().getGreen(), aJPanel.getBackground().getBlue())); //This works.
- aJToggleButton.setBackground(aJPanel.getBackground()); //This does not.
- //Any ideas why? I couldn't find anything in the JavaDocs that explains it.
Add Comment
Please, Sign In to add comment