我想以垂直方式表示我的按钮,这是我的代码:
这些是我的按钮标签代码:
String[] choices = {"31", "63", "127", "255", "511", "1023", "2047", " ... or Quit"};
这是对话框选项:
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"
);
所以......它可以以垂直方式而不是常见的水平方式表示吗?