JTextArea sample
setText() sample
setForeground(), setBackground(), and setOpaque() sample
setFont() sample
setTabSize() sample
setPreferredSize() and setLineWrap() sample
setCaretPosition() and setCaretColor sample
JScrollPane sample