equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
39 * that displays text. It can be set to allow editing or |
39 * that displays text. It can be set to allow editing or |
40 * to be read-only. |
40 * to be read-only. |
41 * <p> |
41 * <p> |
42 * The following image shows the appearance of a text area: |
42 * The following image shows the appearance of a text area: |
43 * <p> |
43 * <p> |
44 * <img src="doc-files/TextArea-1.gif" alt="A TextArea showing the word 'Hello!'" |
44 * <img src="doc-files/TextArea-1.gif" alt="A TextArea showing the word |
45 * style="float:center; margin: 7px 10px;"> |
45 * 'Hello!'" style="margin: 7px 10px;"> |
46 * <p> |
46 * <p> |
47 * This text area could be created by the following line of code: |
47 * This text area could be created by the following line of code: |
48 * |
48 * |
49 * <hr><blockquote><pre> |
49 * <hr><blockquote><pre> |
50 * new TextArea("Hello", 5, 40); |
50 * new TextArea("Hello", 5, 40); |