Come mai non mi viene visualizzata la finestra? cosa sbaglio?codice:JFrame f=new JFrame(); f.setSize(200,300); f.setLocation(100,100); Object[] options = {"Si", "No"}; int n = JOptionPane.showOptionDialog(f, "Messaggio " + "with that ham?", "A Silly Question", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, options, options[2]); f.setVisible(true); f.setSize(new Dimension(300,500)); f.getContentPane().setLayout(new BoxLayout(f.getContentPane(), BoxLayout.PAGE_AXIS));