I tried several methods like setPrefferedSize, setSize with / without pack () but nothing seems to affect JoptionPane
code:
selectProcess = new JOptionPane();
selectProcess.showInputDialog(null,"Please select game process","Select" , JOptionPane.QUESTION_MESSAGE, null ,processes.toArray(),null);
Would you like to make it bigger for the list to show more than one at a time?