A second TextField example

Same as the last example but this uses a button as well. Notice that the same listener works for TextFields and Buttons - why?


TBox2.java


Click here to view java code