Scala Buggabot

Results 419 comments of Scala Buggabot
trafficstars

Imported From: https://issues.scala-lang.org/browse/SI-5616?orig=1 Reporter: Johan Andrén (johanandren) Affected Versions: 2.9.1

Imported From: https://issues.scala-lang.org/browse/SI-4078?orig=1 Reporter: Jamie Webb (jmawebb)

Imported From: https://issues.scala-lang.org/browse/SI-3933?orig=1 Reporter: @oxbowlakes

Samuel Halliday (fommil) said (edited on Mar 27, 2013 2:39:47 PM UTC): hmm, this seems somewhat limited as an implementation. Anytime I want to use a CardLayout I find myself...

Imported From: https://issues.scala-lang.org/browse/SI-2154?orig=1 Reporter: David Corbin (dcorbin)

mathieu leclaire (mamat) said (edited on Nov 21, 2011 3:32:31 PM UTC): For now, the only solution is to use the peer method setModel. With scala 2.9.1 and JDK7 as...

@soc said: @Mathieu: Those two things are most likely two completely separate issues. Could you provide the code which triggered the compiler error (and probably file a new issue for...

mathieu leclaire (mamat) said: In a scala console importing the scala-swing jar: scala> val a = new ComboBox(List("one","two")) scala> a.peer.setModel(ComboBox.newConstantModel(List("three","four"))) gives the following error: error: something is wrong (wrong class...

mathieu leclaire (mamat) said: Hi, did you plan to fix this bug in the next version ? Thanks Mathieu

mathieu leclaire (mamat) said: The bug comes from the fact that since Java 7 a ComboBoxModel (returned by ComboBox.newConstantModel) takes a parameter (http://docs.oracle.com/javase/7/docs/api/javax/swing/ComboBoxModel.html) whereas it did not in Java 6.