We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f96aa commit ecdb5d2Copy full SHA for ecdb5d2
src/main/scala/scala/swing/FileChooser.scala
@@ -46,9 +46,9 @@ object FileChooser {
46
*
47
* @see [[http://docs.oracle.com/javase/7/docs/api/javax/swing/JFileChooser.html javax.swing.JFileChooser]]
48
*/
49
-class FileChooser(dir: File) {
+class FileChooser(dir: File) extends Component {
50
import scala.swing.FileChooser._
51
- lazy val peer: JFileChooser = new JFileChooser(dir)
+ override lazy val peer: JFileChooser = new JFileChooser(dir)
52
53
def this() = this(null)
54
0 commit comments