String SearchBroadCastMenu[] = new String[] {"Search Item Code", "Search Title", "Search Country of Origin", "Search Language", "Search Status", "Search Director", "Search Actor", "Search Producer", "Search Frequency", "Return To Previous"};
UIManager.put("OptionPane.messageFont", new FontUIResource(new Font("Tw Cen MT Condensed",Font.PLAIN,18)));
UIManager.put("OptionPane.messageForeground", java.awt.Color.blue);
UIManager.put("OptionPane.buttonFont", new FontUIResource(new Font("Tw Cen MT Condensed",Font.PLAIN,18)));
int SearchBroadCastOption = JOptionPane.showOptionDialog(null, " ORTSA SDN. BHD - SEARCH BROADCAST MENU ", "Main Program Menu", JOptionPane.DEFAULT_OPTION, JOptionPane.PLAIN_MESSAGE, null, SearchBroadCastMenu, SearchBroadCastMenu[0]);
switch(SearchBroadCastOption){
case 0: searchItemCode(); break;
case 1: searchTitle(); break;
case 2: searchCountryOfOrigin(); break;
case 3: searchLanguage(); break;
case 4: searchStatus(); break;
case 5: searchDirector(); break;
case 6: searchActor(); break;
case 7: searchProducer(); break;
case 8: searchFrequency(); break;
case 9: BroadCastMenu(); break;
default: break;
}
the pop-up window is too big for my computer resolution, what should i do to make the button arrange like this picture.