populed data base in question basic java and creating document in project