找不到符号 symbol:method JOptionPane 多个按钮

Cannot find symbol symbol:method JOptionPane mutliple buttons

package thearena;

import javax.swing.JOptionPane;
import java.util.Random;

public class Arena {

    public static void main(String[] args) {

        Object[] loading_choices = {"Yes","No"};
        int action = JOptionPane.showOptionDialogue(null,
            "Welcome to The Arena, a text based game featuring turn based combat.",
            "The Arena",
            JOptionPane.DEFAULT_OPTION, 
            JOptionPane.QUESTION_MESSAGE, 
            null, 
            loading_choices, 
            loading_choices[0]);
        System.out.println("The user picked: " + loading_choices[action]);

    }

}

这是我正在制作的游戏的代码。但是,在线

int action = JOptionPane.showOptionDialogue(null, .. 

我收到一条错误消息:

Cannot find symbol
symbol: method
showOptionDialogue(<null>,String,String,int,int,<null>,Object[],Object)
location: class JOptionPane

我对 java 比较陌生,只是想制作一个快速的基于文本的游戏,我正在从另一种更简单的语言转移过来,所以我不知道这个错误是什么意思或如何修复它所以任何有帮助吗?

修正拼写。是 showOptionDialog,不是 showOptionDialogue.