JBuilder5 does this. When you are done making the list of variables, click the Bean tab, then the Properties tab. You'll see your variables sitting there without getter/setter checkboxes. Check them, and you'll have the methods. It even fills in the body, which your example left out.
Anthony -----Original Message----- From: Joćo Paulo G. Batistella [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 9:57 AM To: Struts Users Mailing List Subject: [Off Topic] get/set method generation Anyboy knows a tool for generating get/set methods from a list of attributes?? An example: I have private String name; private int number; And I would like to generate: public String getName(); public void setName( String name ) ; public int getNumber(); public void setNumber( number ); Thanks -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>