I would like to present my buttons vertically and here is my code:
this is the shortcut code of my buttons:
String[] choices = {"31", "63", "127", "255", "511", "1023", "2047", " ... or Quit"};
and here are the options for the dialog box:
while (true) { int response = JOptionPane.showOptionDialog( null , "Please select the sequence-length you want ...\n" , "Gold Code generator" , JOptionPane.YES_NO_OPTION , JOptionPane.PLAIN_MESSAGE , null , choices , "None of your business" );
therefore ... can it be represented in a vertical way instead of a common horizontal path?
source share