Using ListView from Scala 2.9.2 with Java 7 gives compile error
问题 I'm working on a project that use scala 2.9.2 and java 7. What I'm trying to do is create a GUI using the scala ListView. Here's a small code snippet: private val listView = new ListView[Document](someList) . . . for (selectedDocument <- listView.peer.getSelectedValuesList) { doSomething(selectedDocument) } This gives me the following compile error: error: something is wrong (wrong class file?): class JList with type parameters [E] gets applied to arguments [], phase = namer for