We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b60e733 + e2b0bb4 commit f052d49Copy full SHA for f052d49
examples/src/main/scala/scala/swing/examples/tutorials/components/FrameDemo2.scala
@@ -304,7 +304,7 @@ object FrameDemo2 extends SimpleSwingApplication {
304
}
305
306
307
- lazy val top = new Frame() {
+ lazy val top: Frame { val demo: FrameDemo2 } = new Frame() {
308
title = "FrameDemo2"
309
//Use the Java look and feel. This needs to be done before the frame is created
310
//so the companion object FrameDemo2 cannot simply extend SimpleSwingApplcation.
0 commit comments