javax.swing.TextComponent getDocument to scala.swing.document.

peer.getDocument() replaced with document member function in scala.swing.TextComponent.
Does this look better
```
val c: Constraints = new Constraints() {
  gridwidth = java.awt.GridBagConstraints.REMAINDER
  fill = GridBagPanel.Fill.Both
 ... etc
}
```