Persons_Comparator.git
5 years agoPut each view inside its own panel and add each panel to the main panel.
Jérôme Benoit [Fri, 11 Jan 2019 15:12:36 +0000 (16:12 +0100)] 
Put each view inside its own panel and add each panel to the main panel.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoChange the EyeView for a JComboList, store the color string inside the Eye class...
Jérôme Benoit [Fri, 11 Jan 2019 14:54:20 +0000 (15:54 +0100)] 
Change the EyeView for a JComboList, store the color string inside the Eye class and choose the color string in the view.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoFix .compareTo() calculation in Size and Weight classes.
Jérôme Benoit [Fri, 11 Jan 2019 14:13:59 +0000 (15:13 +0100)] 
Fix .compareTo() calculation in Size and Weight classes.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoAdd an ArrayList of persons to the Person class.
Jérôme Benoit [Fri, 11 Jan 2019 13:42:30 +0000 (14:42 +0100)] 
Add an ArrayList of persons to the Person class.
Fix all Person constructor and attributes constructors.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoMerge branch 'master' of git.piment-noir.org:Persons_Comparator
Jérôme Benoit [Thu, 10 Jan 2019 10:47:25 +0000 (11:47 +0100)] 
Merge branch 'master' of git.piment-noir.org:Persons_Comparator

5 years agoA lib directory to the project with gson library.
Jérôme Benoit [Thu, 10 Jan 2019 10:47:16 +0000 (11:47 +0100)] 
A lib directory to the project with gson library.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoadd class Region and RegionView
Sylvain Papa [Thu, 10 Jan 2019 10:38:55 +0000 (11:38 +0100)] 
add class Region and RegionView

5 years agoAdd a menu to the main windows.
Jérôme Benoit [Thu, 10 Jan 2019 09:14:16 +0000 (10:14 +0100)] 
Add a menu to the main windows.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoTune a bit the Idea configuration for the project.
Jérôme Benoit [Wed, 9 Jan 2019 19:58:29 +0000 (20:58 +0100)] 
Tune a bit the Idea configuration for the project.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoAdd a label to all views.
Jérôme Benoit [Wed, 9 Jan 2019 15:29:22 +0000 (16:29 +0100)] 
Add a label to all views.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoProperly add all view JComponents to the JPanel in the main JFrame.
Jérôme Benoit [Wed, 9 Jan 2019 14:38:41 +0000 (15:38 +0100)] 
Properly add all view JComponents to the JPanel in the main JFrame.

And implement one view properly.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoAdd a MainWindowsView class and use it in the main().
Jérôme Benoit [Wed, 9 Jan 2019 11:28:37 +0000 (12:28 +0100)] 
Add a MainWindowsView class and use it in the main().

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years ago* Add Levenshtein distance to Firstname class Comparable.
Jérôme Benoit [Wed, 9 Jan 2019 11:10:09 +0000 (12:10 +0100)] 
* Add Levenshtein distance to Firstname class Comparable.
* Fix PersonView setter and contructor.
* Add some javadoc.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoStructure the code to respect MVC design pattern.
Jérôme Benoit [Wed, 9 Jan 2019 09:29:21 +0000 (10:29 +0100)] 
Structure the code to respect MVC design pattern.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoImplement eye color compareTo() method.
Jérôme Benoit [Tue, 8 Jan 2019 15:10:22 +0000 (16:10 +0100)] 
Implement eye color compareTo() method.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoImplement some compareTo() methods.
Jérôme Benoit [Tue, 8 Jan 2019 14:30:47 +0000 (15:30 +0100)] 
Implement some compareTo() methods.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoMake Person class and attributes implements Comparable.
Jérôme Benoit [Tue, 8 Jan 2019 14:14:55 +0000 (15:14 +0100)] 
Make Person class and attributes implements Comparable.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoThrow an error for illegal arguments.
Jérôme Benoit [Tue, 8 Jan 2019 13:42:35 +0000 (14:42 +0100)] 
Throw an error for illegal arguments.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoBasic classes structure that deal with Person attributes.
Jérôme Benoit [Tue, 8 Jan 2019 12:21:01 +0000 (13:21 +0100)] 
Basic classes structure that deal with Person attributes.

5 years agoRefine .gitignore for Eclipse.
Jérôme Benoit [Mon, 7 Jan 2019 15:08:21 +0000 (16:08 +0100)] 
Refine .gitignore for Eclipse.

5 years agoInitial git repository creation with Hello World in Swing.
Jérôme Benoit [Mon, 7 Jan 2019 14:20:13 +0000 (15:20 +0100)] 
Initial git repository creation with Hello World in Swing.