summaryrefslogtreecommitdiff
path: root/src/swing/scala/swing/Showable.scala
blob: 7435d2dc0c73b8eff57884e917777122b7fff4e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package scala.swing

object Showable {
  trait Swing extends Showable {
    def peer: { def setVisible(b: Boolean) }
    def show(): this.type = { peer.setVisible(true); this }
  }
}

trait Showable {
  def show(): this.type
}