update ignore file for scala and java.
add scala swing example with sbt.