This one is really tricky.
If I generate a dialog from JOptionPane, can I change the background color of this dialog? I wonder whether this should be done on the JOptionPane or on the dialog after it is generated. Have tried but didn't get the expected result.
What's even more tricky is, I wonder if it is possible to change the color of the buttons on that dialog -- I mean the default button "OK" or any customized buttons. Since we get the button for free, how can we even get a reference to it...
Would anybody advise on this issue? Many thanks.
If I generate a dialog from JOptionPane, can I change the background color of this dialog? I wonder whether this should be done on the JOptionPane or on the dialog after it is generated. Have tried but didn't get the expected result.
What's even more tricky is, I wonder if it is possible to change the color of the buttons on that dialog -- I mean the default button "OK" or any customized buttons. Since we get the button for free, how can we even get a reference to it...
Would anybody advise on this issue? Many thanks.