OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / lib / classpath / examples / gnu / classpath / examples / swing / forms.html
1 <!-- welcome.html -- Some HTML stuff to show Swing HTML
2     Copyright (C) 2006 Free Software Foundation, Inc.
3
4 This file is part of GNU Classpath.
5
6 GNU Classpath is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GNU Classpath is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU Classpath; see the file COPYING.  If not, write to the
18 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 02110-1301 USA.
20
21 Linking this library statically or dynamically with other modules is
22 making a combined work based on this library.  Thus, the terms and
23 conditions of the GNU General Public License cover the whole
24 combination.
25
26 As a special exception, the copyright holders of this library give you
27 permission to link this library with independent modules to produce an
28 executable, regardless of the license terms of these independent
29 modules, and to copy and distribute the resulting executable under
30 terms of your choice, provided that you also meet, for each linked
31 independent module, the terms and conditions of the license of that
32 module.  An independent module is a module which is not derived from
33 or based on this library.  If you modify this library, you may extend
34 this exception to your version of the library, but you are not
35 obligated to do so.  If you do not wish to do so, delete this
36 exception statement from your version. -->
37
38 <html>
39
40   <head>
41     <title>HTML text styles</title>
42   </head>
43   <body>
44   <form>
45   <a href="welcome.html">Back to start page</a>
46   <h1>Some form elements</h1>
47   <h2>Textarea</h2>
48   <textarea cols="30" rows="5">
49   Hello GNU Classpath world. This text should show up in a text area
50   that has a size of 30 columns and 5 rows
51   </textarea>
52
53   <h2>Input fields</h2>
54   <p>
55   <input type="text" value="This is a normal textfield">
56   <input type="password" value="secret password">
57   </p>
58
59   <h2>Buttons</h2>
60   <p>
61   <input type="submit"></input>
62   <input type="reset"></input>
63   <input type="button" value="Some button"></input>
64   </p>
65
66   <h2>Checkboxes and Radiobuttons</h2>
67   <p>
68   <input type="checkbox" name="2">Check this!</input>
69   <input type="checkbox" name="2">Or this</input>
70   </p>
71   <p>
72   <input type="radio" name="1">A radio button</input>
73   <input type="radio" name="1">Another radio</input>
74   </p>
75   <h2>Select lists and combo boxes</h2>
76   <p>
77   <select>
78     <option>Value1</option>
79     <option>Value2</option>
80     <option>Value3</option>
81     <option label="Labeled value 4">Value4</option>
82     <option>Value5</option>
83     <option>Value6</option>
84   </select>
85   </p>
86   <p>
87   <select size="3">
88     <option>Value1</option>
89     <option>Value2</option>
90     <option>Value3</option>
91     <option label="Labeled value 4">Value4</option>
92     <option>Value5</option>
93     <option>Value6</option>
94   </select>
95   </p>
96   </form>
97   </body>
98 </html>