We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I've been trying to use UIManager but couldnt get it to work.
UIManager.put("OptionPane.background", color(0,0,0)); UIManager.put("Panel.background", color(0,0,0));
Example of the JOptionPane I'm using.
void exit(){
int choice = JOptionPane.showConfirmDialog(null,
"", JOptionPane.YES_NO_OPTION);
//println(choice);
if (choice == JOptionPane.YES_OPTION)
{
saveData();
}
super.exit();
}
Answers
use the UI Manager class
use the UI Manager class
A full example below.
Kf