Persons_Comparator.git
5 years agoAdd listener to specific events like country selection.
Jérôme Benoit [Sat, 12 Jan 2019 13:15:43 +0000 (14:15 +0100)] 
Add listener to specific events like country selection.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoBut all person displaying related information into the View and add a panel for the...
Jérôme Benoit [Sat, 12 Jan 2019 12:46:45 +0000 (13:46 +0100)] 
But all person displaying related information into the View and add a panel for the closest person found.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoDo not create a new instance recursively for nothing to display the list of valid...
Jérôme Benoit [Sat, 12 Jan 2019 11:22:23 +0000 (12:22 +0100)] 
Do not create a new instance recursively for nothing to display the list of valid colors name.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoCode cleanup.
Jérôme Benoit [Sat, 12 Jan 2019 09:31:49 +0000 (10:31 +0100)] 
Code cleanup.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoRemove a warning.
Jérôme Benoit [Fri, 11 Jan 2019 20:04:50 +0000 (21:04 +0100)] 
Remove a warning.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoAdd some basic data for the Origin class and implement the associated view to allow...
Jérôme Benoit [Fri, 11 Jan 2019 19:54:23 +0000 (20:54 +0100)] 
Add some basic data for the Origin class and implement the associated view to allow future complete inputs treatment testing.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoFinish the WeightView by using a JComboBox.
Jérôme Benoit [Fri, 11 Jan 2019 17:29:53 +0000 (18:29 +0100)] 
Finish the WeightView by using a JComboBox.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoFinish the SizeView by using a JSpinner.
Jérôme Benoit [Fri, 11 Jan 2019 16:23:34 +0000 (17:23 +0100)] 
Finish the SizeView by using a JSpinner.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoAdd cut/copy/paste to the main windows menu.
Jérôme Benoit [Fri, 11 Jan 2019 15:52:20 +0000 (16:52 +0100)] 
Add cut/copy/paste to the main windows menu.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
5 years agoGo back to JList on the EyeView, JComboBox will be used somewhere else.
Jérôme Benoit [Fri, 11 Jan 2019 15:33:34 +0000 (16:33 +0100)] 
Go back to JList on the EyeView, JComboBox will be used somewhere else.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
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.