Note: when importing resources, Component.getClass().getResource(filename) searches relative to the current *package*!! useful regexp's: find: \rvoid *\r([^\r]+)\r([^\r]+)\r replace: /**\t\2\t*/\rvoid \1\r\r find: replace: find: replace: find: replace: find: replace: