This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: Bug in BorderPanel on 2.7.7?

No replies
Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.

In a 2.8 I downloaded a while ago (the scala-library.jar's library.properties says version.number=2.8.0.r20246-b20091219020404) it throws a NullPointerException in BorderPanel.scala:27.
It's probably really a LayoutContainer problem.

-------------------------------------
Naftoli Gugenheim wrote:

val x = new BorderPanel
x.layout(a) = Center
x.layout(b) = Center
println(x.layout) // throws MatchError in BorderPanel.scala:16

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland