I have added JOptionPane to my application but I do not know how to change background color to white?
`int option = JOptionPane.showConfirmDialog(bcfiDownloa
Use something like this to change the background color just for this one message display and not the whole system...
Object paneBG = UIManager.get("OptionPane.background");
Object panelBG = UIManager.get("Panel.background");
UIManager.put("OptionPane.background", new Color(...));
UIManager.put("Panel.background", new Color(...));
int ret = messageBox(msg, null, (short)type);
UIManager.put("OptionPane.background", paneBG);
UIManager.put("Panel.background", panelBG);