Skip to content

Commit f052d49

Browse files
authored
Merge pull request #50 from adriaanm/2.0.x
Adapt to valsiginfer in fields refactor
2 parents b60e733 + e2b0bb4 commit f052d49

File tree

1 file changed

+1
-1
lines changed
  • examples/src/main/scala/scala/swing/examples/tutorials/components

1 file changed

+1
-1
lines changed

examples/src/main/scala/scala/swing/examples/tutorials/components/FrameDemo2.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ object FrameDemo2 extends SimpleSwingApplication {
304304
}
305305
}
306306

307-
lazy val top = new Frame() {
307+
lazy val top: Frame { val demo: FrameDemo2 } = new Frame() {
308308
title = "FrameDemo2"
309309
//Use the Java look and feel. This needs to be done before the frame is created
310310
//so the companion object FrameDemo2 cannot simply extend SimpleSwingApplcation.

0 commit comments

Comments
 (0)