or drag border to resize
Best viewed with Firefox
Bitcoin donation, thank you
Post this site to

Java fundamentals excercises

Java Excercise 18

Can be done following StringBuffer

- Button, textfield, textarea. Append the text from the textfield to a StringBuffer at each button-press. Show the growing stringbuffer in the textarea. Cut it short to 5 characters when the length exceeds 14 characters.
You can get a String from a textfield like so : s = tf.getText();

Use this as your starting point : (double click to select)


Click in code below to read


Copyright © 2000-2014 System Exclusive & Multi Midi (NL) All rights reserved

Terms, conditions, disclaimer