summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--scala.html.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/scala.html.markdown b/scala.html.markdown
index a82983a5..c2aa942c 100644
--- a/scala.html.markdown
+++ b/scala.html.markdown
@@ -621,6 +621,9 @@ import scala.collection.immutable.{List => ImmutableList}
// Import all classes, except some. The following excludes Map and Set:
import scala.collection.immutable.{Map => _, Set => _, _}
+// Java classes can also be imported. Scala syntax can be used
+import java.swing.{JFrame, JWindow}
+
// Your programs entry point is defined in an scala file using an object, with a
// single method, main:
object Application {