[英]Using JOptionPane with Xtend
我意识到这可能是一个非常愚蠢的问题,但是如何在Xtend中使用JOptionPane? 我想不通,现在已经尝试了一段时间。
JOptionPane.showMessageDialog(getContentPane(), message);
似乎不起作用。
Eclipse给了我这个错误: The method or field JOptionPane is undefined for the type MyClassName
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.