No volunteers have provided edit tools at present to the gt-swing module. You can look at how tools are created and create your own edit tools (please donate them back!).

For writing out the content have a look at the FeatureStore API, one of the initial tutorials shows how to use it to write out or modify a shapefile.

You may also wish into a desktop application, unless of course your assignment is to write this yourself.
-- 
Jody Garnett

On Sunday, 21 April 2013 at 8:45 PM, sahbani sarra wrote:

what I want to do is create an interface (using Java) to display a map (from a shapefile) and then add buttons to place points and draw lines on the map. and record added in shapefiles that I can open another time items, I managed to view the map using GeoTools but adding points and lines no longer could you help me do this.


Date: Sun, 21 Apr 2013 20:27:58 +1000
From: jody.garnett@gmail.com
To: sarra.sh@hotmail.fr
CC: Geotools-gt2-users@lists.sourceforge.net
Subject: Re: help with graduation project

Cannot be too urgent as you have not signed up and asked on the user list yet :D

Perhaps you would like to start with a running desktop application rather than a library like GeoTools? There is nothing automatic about GeoTools as we are here to make things possible for those writing desktop applications.

Or if you are familiar with MapInfo why not stick to that.
-- 
Jody Garnett

On Sunday, 21 April 2013 at 8:24 PM, sahbani sarra wrote:

Hi
Thank you for the answer.
I've used this tutorial, what I need now cover is set further points, draw cloths mauellement Register and tables automatically (as is done using MapInfo). is there a code that can help me, I'm stuck on this one week and I can not do it.
That I need a code that makes my job easier and realized what is required. This is very urgent 
Regards 
Sahbani Sarra

Date: Sun, 21 Apr 2013 20:14:03 +1000
From: jody.garnett@gmail.com
To: sarra.sh@hotmail.fr
CC: Geotools-gt2-users@lists.sourceforge.net
Subject: help with graduation project

There are several tutorials in the use guide (http://docs.geotools.org/latest/userguide/index.html) which can
gradually introduce yo uta those ideas.

However GeoTools is a low level library focused more on providing access to spatial data. While we do include a "swing" module in order to help out with training, you will still have a lot of work to do for your graduation project.

Please sign up to the geotools-gt2-users list for any further assistance, this list is set up for collaboration (the geotools-devel list, and individual developers, tend to stay focused on their day job).
-- 
Jody Garnett

On Sunday, 21 April 2013 at 8:08 PM, sahbani sarra wrote:

Hi Mr. Jody Garnett
I do not control well GeoTools, could you help me to do some stuff that I need in my graduation project:
I posted a map (region) with a shapefile. Now I want to plot points and draw lines on the map and maunellement each object I added (points, lines) must be stored in a table (layer) and how I can create a shapefile after finish placing new points and lines. Another thing, please, how pourais I save my work late so I can open it again.
Is there a tutorial or a code that will help me to do these tasks
This is very urgent I am waiting for your reply.
Regards
Sahbani Sarra