summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/hjp5/examples/TextArea1.inc
blob: dba22aa510dc0695d50ddd855d8fe65842f31b8e (plain)
1
2
3
4
5
6
7
8
9
/* TextArea1.inc */

private void customizeLayout(Panel panel)
{
  panel.setLayout(new FlowLayout(FlowLayout.LEFT));
  TextArea ta = new TextArea(10,40);
  ta.addTextListener(this);
  panel.add(ta);
}