You can reuse a single ActionListener for all your textfields. Than retrieve the info (using ((JTextField) actionEvent.getSource()).getText()) and than update the total value. (the tricky part would be the part when you really compute the total,as you would need to know the previous value

).
Another option is to make your computation on focus lost event (same mechanism as above).
--
./pope
[the_mindstorm]
[ January 21, 2005: Message edited by: Ali Pope ]