0
我在看一些示例代码,是Scala 2.9.1示数出来:摆动问题斯卡拉
import javax.swing.JFrame
import javax.swing.JMenuBar
import javax.swing.JButton
import javax.swing._
import com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
import javax.swing.{UIManager}
object UI extends SimpleSwingApplication {
UIManager.setLookAndFeel(new NimbusLookAndFeel)
}
错误:/some/path/Cls.scala:25:错误:未找到:类型SimpleSwingApplication