textfield setcolumns setfont

Java TextField Methods

This is second program on TextField, first being User Name Password Validation (applet version is also available). The methods like setColumns(), setText() and setFont(), getColumns() and getText() are used to set and get the properties. Example on using Java TextField Methods

Output screen of Java TextField Methods tf1 =…