Skip to content
Browse files

Address a deprecation warnings in scala-swing.

While I was in the neighbourhood.
  • Loading branch information...
1 parent 2e5c7b9 commit 5a8329a0b1f52ed9b3c1111bdde53f3e7d2ebfa7 @retronym retronym committed Apr 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/swing/scala/swing/Slider.scala
View
2 src/swing/scala/swing/Slider.scala
@@ -53,7 +53,7 @@ class Slider extends Component with Orientable.Wrapper with Publisher {
def labels: scala.collection.Map[Int, Label] = {
val labelTable = peer.getLabelTable.asInstanceOf[java.util.Hashtable[Int, JLabel]]
- new scala.collection.JavaConversions.JMapWrapper(labelTable)
+ new scala.collection.convert.Wrappers.JMapWrapper(labelTable)
.mapValues(v => UIElement.cachedWrapper[Label](v))
}
def labels_=(l: scala.collection.Map[Int, Label]) {

0 comments on commit 5a8329a

Please sign in to comment.
Something went wrong with that request. Please try again.