可以该.它的参数如下(参数最多的构造方法).
showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) 
那么它的message是Object类型的,你可以写个JPanel,JList,JComboBox....
然后把你写的作为参数传入就可以了.你想怎么设计就怎么设计啦!ok?如果你连按钮都想该那么,把optionType参数添入null,然后自己定义你想用的按钮.把你自己定义的添入options参数.就ok了.