Swing
introprog.Swing
object Swing
A module with Swing utilities used by introprog.PixelWindow.
Attributes
- Source
- Swing.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Swing.type
Members list
Type members
Classlikes
class ImagePanel(val initWidth: Int, val initHeight: Int, val initBackground: Color) extends JPanel
A Swing JPanel
to create drawing windows for 2D graphics.
A Swing JPanel
to create drawing windows for 2D graphics.
Attributes
- Source
- Swing.scala
- Supertypes
-
class JPaneltrait Accessibleclass JComponentclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Run callback
asynchronously in the Swing thread.
Run callback
in the Swing thread and block until completion.
Find a look and feel with a name including partOfName
.
Init the Swing GUI toolkit and set platform-specific look and feel.
Return a sequence of available look and feel options.
Test if the current operating system name includes partOfName
.
In this article