]> git.mxchange.org Git - jaddressbook-lib.git/log
jaddressbook-lib.git
9 years agoAdded a lot trace messages + sanity checks for null references and such things
Roland Haeder [Tue, 28 Jul 2015 13:27:51 +0000 (15:27 +0200)]
Added a lot trace messages + sanity checks for null references and such things
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced more methods + added first dialog call (yes, it is still visible by startu...
Roland Haeder [Tue, 28 Jul 2015 12:20:57 +0000 (14:20 +0200)]
Introduced more methods + added first dialog call (yes, it is still visible by startup as I'm not finished with it) + many initFoo() methods now expect a JDialog instance
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAuto-formation and yes, it is better this way
Roland Haeder [Tue, 28 Jul 2015 11:44:26 +0000 (13:44 +0200)]
Auto-formation and yes, it is better this way
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded more input fields and overwritten toString() in Gender enum
Roland Haeder [Tue, 28 Jul 2015 10:59:41 +0000 (12:59 +0200)]
Added more input fields and overwritten toString() in Gender enum
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoset visibility for debugging purposes here
Roland Haeder [Tue, 28 Jul 2015 06:43:52 +0000 (08:43 +0200)]
set visibility for debugging purposes here
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced initNamePanel() + added entering surname, family name and displays gender...
Roland Haeder [Tue, 28 Jul 2015 06:40:01 +0000 (08:40 +0200)]
Introduced initNamePanel() + added entering surname, family name and displays gender. Well, this doesn't look okay ...
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoRenamed class to reflect actual purpose
Roland Haeder [Mon, 27 Jul 2015 13:35:10 +0000 (15:35 +0200)]
Renamed class to reflect actual purpose
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSpecial characters cannot be securely written with direct writeBytes() and readLine...
Roland Haeder [Mon, 27 Jul 2015 13:33:58 +0000 (15:33 +0200)]
Special characters cannot be securely written with direct writeBytes() and readLine() method, but BASE64 works flawless ...
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoUse own methods
Roland Haeder [Mon, 27 Jul 2015 12:32:28 +0000 (14:32 +0200)]
Use own methods
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSorted members
Roland Haeder [Mon, 27 Jul 2015 12:04:02 +0000 (14:04 +0200)]
Sorted members
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSome performance tuning...
Roland Haeder [Mon, 27 Jul 2015 11:40:10 +0000 (13:40 +0200)]
Some performance tuning...
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded null reference checks (NPE and asserts) + debug lines + moved variable declaration
Roland Haeder [Mon, 27 Jul 2015 11:30:57 +0000 (13:30 +0200)]
Added null reference checks (NPE and asserts) + debug lines + moved variable declaration
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoNow much easier to handle
Roland Haeder [Mon, 27 Jul 2015 10:57:40 +0000 (12:57 +0200)]
Now much easier to handle
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced Gender enum which replaces the old char
Roland Haeder [Mon, 27 Jul 2015 10:55:18 +0000 (12:55 +0200)]
Introduced Gender enum which replaces the old char
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced new model as we need gender value verfication, maybe this works?
Roland Haeder [Fri, 24 Jul 2015 13:33:50 +0000 (15:33 +0200)]
Introduced new model as we need gender value verfication, maybe this works?
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoGlobal commit: Changed spaces to tabs, because all Java files have tabs for indenting
Roland Haeder [Fri, 24 Jul 2015 11:18:38 +0000 (13:18 +0200)]
Global commit: Changed spaces to tabs, because all Java files have tabs for indenting
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded trace messages
Roland Haeder [Fri, 24 Jul 2015 10:56:04 +0000 (12:56 +0200)]
Added trace messages
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded some documentation + added assertions for important fields as this must be...
Roland Haeder [Fri, 24 Jul 2015 10:51:30 +0000 (12:51 +0200)]
Added some documentation + added assertions for important fields as this must be found before "release".
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoImplemented getColumnName() + added it to ContactManager as this class holds the...
Roland Haeder [Fri, 24 Jul 2015 10:41:00 +0000 (12:41 +0200)]
Implemented getColumnName() + added it to ContactManager as this class holds the column names + added some for testing
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSorted members
Roland Haeder [Fri, 24 Jul 2015 10:34:37 +0000 (12:34 +0200)]
Sorted members
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoImplemented getRowCount() + centered table and added exception in unfinished method
Roland Haeder [Fri, 24 Jul 2015 10:33:10 +0000 (12:33 +0200)]
Implemented getRowCount() + centered table and added exception in unfinished method
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced initTable()
Roland Haeder [Fri, 24 Jul 2015 10:04:13 +0000 (12:04 +0200)]
Introduced initTable()
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced updateStatus() + shutdownApplication()
Roland Haeder [Fri, 24 Jul 2015 09:49:30 +0000 (11:49 +0200)]
Introduced updateStatus() + shutdownApplication()
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoMoved exceptions in own package
Roland Haeder [Fri, 24 Jul 2015 09:29:04 +0000 (11:29 +0200)]
Moved exceptions in own package
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoFixed copyright + added documentation a bit
Roland Haeder [Fri, 24 Jul 2015 09:23:28 +0000 (11:23 +0200)]
Fixed copyright + added documentation a bit
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced initStatusPanel() which initializes status panel + renamed methods accordi...
Roland Haeder [Fri, 24 Jul 2015 09:21:47 +0000 (11:21 +0200)]
Introduced initStatusPanel() which initializes status panel + renamed methods according to naming convention
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced initMenuSystem() which initializes whole menu bar
Roland Haeder [Fri, 24 Jul 2015 06:35:54 +0000 (08:35 +0200)]
Introduced initMenuSystem() which initializes whole menu bar
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoMoved default close operation into init method to keep constructors small
Roland Haeder [Thu, 23 Jul 2015 13:26:25 +0000 (15:26 +0200)]
Moved default close operation into init method to keep constructors small
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoMoved declaration of menu and item instances up as they will be used again
Roland Haeder [Thu, 23 Jul 2015 13:24:23 +0000 (15:24 +0200)]
Moved declaration of menu and item instances up as they will be used again
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued with re-implementation of Swing frame
Roland Haeder [Thu, 23 Jul 2015 13:16:01 +0000 (15:16 +0200)]
Continued with re-implementation of Swing frame
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded 'final' keyword to getters/setters as it makes no sense overwriting them.
Roland Haeder [Thu, 23 Jul 2015 11:39:32 +0000 (13:39 +0200)]
Added 'final' keyword to getters/setters as it makes no sense overwriting them.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThe NetBeans-created GUI was buggy, maybe because of the .form file. So I better...
Roland Haeder [Thu, 23 Jul 2015 10:57:21 +0000 (12:57 +0200)]
The NetBeans-created GUI was buggy, maybe because of the .form file. So I better write my own one.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoBah, bad bad NetBeans. Why the f**k does it need to have a sub directory??? Why not...
Roland Haeder [Thu, 23 Jul 2015 07:08:58 +0000 (09:08 +0200)]
Bah, bad bad NetBeans. Why the f**k does it need to have a sub directory??? Why not plainly in main directory? But who knows ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed call + introduced getColumnCount()
Roland Haeder [Thu, 23 Jul 2015 06:19:55 +0000 (08:19 +0200)]
Fixed call + introduced getColumnCount()
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded missing class
Roland Haeder [Thu, 23 Jul 2015 06:02:32 +0000 (08:02 +0200)]
Added missing class
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoProject relocated (a bit better now?) + continued with Swing client
Roland Haeder [Wed, 22 Jul 2015 13:24:13 +0000 (15:24 +0200)]
Project relocated (a bit better now?) + continued with Swing client
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agothe contact manager instance only exists when initFrame() is called and not on object...
Roland Haeder [Wed, 22 Jul 2015 06:29:27 +0000 (08:29 +0200)]
the contact manager instance only exists when initFrame() is called and not on object initialization
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded stuff for Swing client
Roland Haeder [Tue, 21 Jul 2015 13:30:59 +0000 (15:30 +0200)]
Added stuff for Swing client
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded a lot stuff:
Roland Haeder [Tue, 21 Jul 2015 13:10:28 +0000 (15:10 +0200)]
Added a lot stuff:

- Introduced doShutdown()
- Added status bar to Swing frame
- Added "Exit program" menu item
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded initial Swing frame class (Netbeans) and moved method initContactManager()...
Roland Haeder [Tue, 21 Jul 2015 12:11:25 +0000 (14:11 +0200)]
Added initial Swing frame class (Netbeans) and moved method initContactManager() to BaseClient as only clients initialize it.
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoThis call is no more needed
Roland Haeder [Tue, 21 Jul 2015 11:39:27 +0000 (13:39 +0200)]
This call is no more needed
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded generic interface to generic class + added some methods to it
Roland Haeder [Tue, 21 Jul 2015 11:28:00 +0000 (13:28 +0200)]
Added generic interface to generic class + added some methods to it
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced a lot Swing stuff + moved some attributes
Roland Haeder [Tue, 21 Jul 2015 11:22:44 +0000 (13:22 +0200)]
Introduced a lot Swing stuff + moved some attributes
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoSorted some members + added 2 menu entries: list and search
Roland Haeder [Mon, 20 Jul 2015 13:07:51 +0000 (15:07 +0200)]
Sorted some members + added 2 menu entries: list and search
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced addContactToList() + used writeBytes() instead of writeCharacters() as...
Roland Haeder [Mon, 20 Jul 2015 12:54:36 +0000 (14:54 +0200)]
Introduced addContactToList() + used writeBytes() instead of writeCharacters() as this causes an empty char behind all written characters which breaks the parser
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agosorted members
Roland Haeder [Mon, 20 Jul 2015 11:52:56 +0000 (13:52 +0200)]
sorted members
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded calculation for average lines in database file + check for add() call
Roland Haeder [Mon, 20 Jul 2015 10:41:20 +0000 (12:41 +0200)]
Added calculation for average lines in database file + check for add() call

Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoOpps, forgot to add fully read Contact object to list ...
KLC [Mon, 20 Jul 2015 10:03:22 +0000 (12:03 +0200)]
Opps, forgot to add fully read Contact object to list ...
Signed-off-by:KLC <KLC@NRW-450-190>

9 years agoAdded support for all current columns for reading from database file
Roland Haeder [Mon, 20 Jul 2015 09:57:03 +0000 (11:57 +0200)]
Added support for all current columns for reading from database file
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoContinued:
Roland Haeder [Fri, 17 Jul 2015 13:18:03 +0000 (15:18 +0200)]
Continued:
- Reading/writing to database file fixed
- Tokenizer used to get every part of each data line
- update<Foo>Data() needs expansion
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoRewrite start of storing contacts in database as the previous was just for demo ...
Roland Haeder [Fri, 17 Jul 2015 08:48:30 +0000 (10:48 +0200)]
Rewrite start of storing contacts in database as the previous was just for demo (needs Apache Log4J 2.x)
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded a lot database stuff, which needs heavy rewrite
Roland Haeder [Thu, 16 Jul 2015 13:24:26 +0000 (15:24 +0200)]
Added a lot database stuff, which needs heavy rewrite
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoConvention applied:
Roland Haeder [Thu, 16 Jul 2015 06:31:06 +0000 (08:31 +0200)]
Convention applied:

// Valid:
someFooMethod();

// Not okay:
someFooMethod ();

// But in definition:

public void someFooMethod () {
// Some code here
}

Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoMade getMenu() abstract as showMenu() is now in BaseClient. This has the benefit...
Roland Haeder [Thu, 16 Jul 2015 06:26:25 +0000 (08:26 +0200)]
Made getMenu() abstract as showMenu() is now in BaseClient. This has the benefit that generic code doesn't need to be repeated (DRY).
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoUpdated comment (minor)
KLC [Wed, 15 Jul 2015 13:27:03 +0000 (15:27 +0200)]
Updated comment (minor)
Signed-off-by:Roland Häder <roland@mxchange.org>
Signed-off-by:KLC <KLC@NRW-450-190>

9 years agoRenamed some methods and auto-sorted them
Roland Haeder [Wed, 15 Jul 2015 13:21:13 +0000 (15:21 +0200)]
Renamed some methods and auto-sorted them
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced updateAddressData() + changing own "address data" is basicly finished
Roland Haeder [Wed, 15 Jul 2015 12:40:14 +0000 (14:40 +0200)]
Introduced updateAddressData() + changing own "address data" is basicly finished
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced updateNameData() + changing own "name data" is basicly finished
Roland Haeder [Wed, 15 Jul 2015 12:02:13 +0000 (14:02 +0200)]
Introduced updateNameData() + changing own "name data" is basicly finished
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoIntroduced own exception + added first sub menu for changing address data
Roland Haeder [Wed, 15 Jul 2015 11:14:33 +0000 (13:14 +0200)]
Introduced own exception + added first sub menu for changing address data
Signed-off-by:Roland Häder <roland@mxchange.org>
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoAdded show() method and in client a simple, textural display
Roland Haeder [Wed, 15 Jul 2015 10:45:12 +0000 (12:45 +0200)]
Added show() method and in client a simple, textural display
Signed-off-by:Roland Häder <roland@mxchange.org>

9 years agoInitial commit
Roland Haeder [Wed, 15 Jul 2015 06:31:34 +0000 (08:31 +0200)]
Initial commit
Signed-off-by:Roland Häder <roland@mxchange.org>