scala / scala-swing

Scala wrappers for Java's Swing API for desktop GUIs
Apache License 2.0
134 stars 48 forks source link

scala.swing.Scrollable does not implement javax.swing.Scrollable in peer #134

Open scabug opened 14 years ago

scabug commented 14 years ago

A component that extends scala.swing.Scrollable (but not Scrollable.Wrapper) should cause the component's peer to implement javax.swing.Scrollable and forward the latter's methods to the former. That way, custom components can be made scrollable.

In 2.8.0, this is not the case. Rather, extending scala.swing.Scrollable and implementing its methods for a custom scrollable component has no effect, since the resulting peer doesn't implement javax.swing.Scrollable.

scabug commented 14 years ago

Imported From: https://issues.scala-lang.org/browse/SI-3823?orig=1 Reporter: Alex Hvostov (argv)