Skip to content

Commit e2b0bb4

Browse files
committed
adapt to valsiginfer in fields refactor
1 parent b60e733 commit e2b0bb4

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)