]>
git.mxchange.org Git - addressbook-swing.git/log
Roland Haeder [Mon, 17 Aug 2015 15:29:30 +0000 (17:29 +0200)]
Moved project files again + lib/jcore.jar added. This makes jcore more decentralized than before it was.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 15 Aug 2015 09:02:17 +0000 (11:02 +0200)]
Cleaned up logger XML + renamed interface fixed
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 14 Aug 2015 21:27:21 +0000 (23:27 +0200)]
Added and implemented missing methods
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 14 Aug 2015 19:50:20 +0000 (21:50 +0200)]
Added more thrown exception (yes, again)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 14 Aug 2015 19:31:49 +0000 (21:31 +0200)]
Also added here missing thrown exceptions
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 14 Aug 2015 18:29:22 +0000 (20:29 +0200)]
Fixes for new changes in jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 14 Aug 2015 13:33:36 +0000 (15:33 +0200)]
Experimental entry?
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 14 Aug 2015 10:06:07 +0000 (12:06 +0200)]
Stub for emptyStringToNull() added
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 13 Aug 2015 13:33:24 +0000 (15:33 +0200)]
Added catching of some newly thrown exceptions
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 13 Aug 2015 13:19:56 +0000 (15:19 +0200)]
More rewrites for thrown exceptions
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 12 Aug 2015 18:18:03 +0000 (20:18 +0200)]
Added more thrown exceptions or catch them.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 12 Aug 2015 18:10:46 +0000 (20:10 +0200)]
Added more thrown exceptions
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 12 Aug 2015 18:00:43 +0000 (20:00 +0200)]
Organized members
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 12 Aug 2015 15:47:05 +0000 (17:47 +0200)]
Fixes for missing throws statements (because jcore has changed).
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 12 Aug 2015 14:55:07 +0000 (16:55 +0200)]
Added NetBeans files + ignored only 'private'.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 12 Aug 2015 13:58:15 +0000 (15:58 +0200)]
Rewrite to data-gateway pattern
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 11 Aug 2015 12:25:04 +0000 (14:25 +0200)]
replaced with multi-catch
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 11 Aug 2015 12:21:05 +0000 (14:21 +0200)]
Method doShutdown() has been moved to DatabaseFrontend in jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 11 Aug 2015 07:06:01 +0000 (09:06 +0200)]
Moved to jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Aug 2015 13:38:18 +0000 (15:38 +0200)]
Saved direct enum name + used it again makes the code much sweeter, still the ConsoleClient wants fromChar() and cannot use valueOf()
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Aug 2015 13:06:55 +0000 (15:06 +0200)]
Comment updated
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Aug 2015 09:31:32 +0000 (11:31 +0200)]
More fixes ...
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 7 Aug 2015 13:14:00 +0000 (15:14 +0200)]
It has to be Long to get rid of "0" in forms
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 7 Aug 2015 09:48:55 +0000 (11:48 +0200)]
Minor removal
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 7 Aug 2015 06:32:47 +0000 (08:32 +0200)]
Renamed some classes/interfaces to make it clear they belong only to this project as they are currently not generic enough to be added to jcore.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 6 Aug 2015 12:15:36 +0000 (14:15 +0200)]
These update methods were somewhere lame, so better take data-setters. Object-instance-setters however should *not* be publicly accessible as this may cause interferences if a programmer sets a needed instances by mistake somewhere.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 6 Aug 2015 11:47:33 +0000 (13:47 +0200)]
Moved more stuff to jcore project as they can be generalized
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 6 Aug 2015 09:15:00 +0000 (11:15 +0200)]
Better init it here
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 6 Aug 2015 09:10:09 +0000 (11:10 +0200)]
Not all applications want resource bundles, remove exception as it already exist in jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 6 Aug 2015 06:32:20 +0000 (08:32 +0200)]
Moved a lot classes and interfaces (generalized) to new jcore project + added a few specializations
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 4 Aug 2015 06:03:37 +0000 (08:03 +0200)]
Added text file
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 4 Aug 2015 06:01:38 +0000 (08:01 +0200)]
Nicer formatted comment
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 4 Aug 2015 05:59:38 +0000 (07:59 +0200)]
Trailing spaces are no good ideas.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 31 Jul 2015 13:26:06 +0000 (15:26 +0200)]
Added README file + ignored some strings (no logic change).
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 31 Jul 2015 13:14:45 +0000 (15:14 +0200)]
Added a lot more generic methods for columnName lookup (a field must be there) + renamed some classes
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 31 Jul 2015 11:04:17 +0000 (13:04 +0200)]
Continued with refacturing:
- getBooleanField()
- getField()
- getValueFromColumn()
- getMethodFromName()
- And more!
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 31 Jul 2015 09:15:09 +0000 (11:15 +0200)]
Fixes for broken commit, as type-hints must be fixed or casted
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 31 Jul 2015 08:47:20 +0000 (10:47 +0200)]
Broken commit towards generics
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 31 Jul 2015 06:37:35 +0000 (08:37 +0200)]
Handled / throw some exceptions
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 31 Jul 2015 06:22:27 +0000 (08:22 +0200)]
Some more cleanups + added initial SQL dump
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 30 Jul 2015 13:32:41 +0000 (15:32 +0200)]
First atttempt of prepared statement
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 30 Jul 2015 12:35:43 +0000 (14:35 +0200)]
A lot refacturings ...
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 30 Jul 2015 08:01:56 +0000 (10:01 +0200)]
Added method logException() + properties instance should be static as only one instance in whole application is okay
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 13:22:48 +0000 (15:22 +0200)]
Method getProperty() now prefixes all keys with org.mxchange.addressbook.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 13:19:08 +0000 (15:19 +0200)]
Having one database connection for all tables is more efficient
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 13:00:13 +0000 (15:00 +0200)]
Implemented doShutdown() for MySQL backend
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 12:51:21 +0000 (14:51 +0200)]
Fixed and added more MySQL-related stuff
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 12:41:56 +0000 (14:41 +0200)]
Added more MySQL-related stuff
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 12:30:08 +0000 (14:30 +0200)]
And ignored any properties files as they are generated on-the-fly
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 12:26:55 +0000 (14:26 +0200)]
Basic support for properties file
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 29 Jul 2015 12:05:37 +0000 (14:05 +0200)]
A lot more improvements:
- Added new MySQL backend class which is unfinished for now
- Added missing @Override
- Introduced abortProgramWithException()
- Expanded menu with new entry
- Introduced new methods for adding menu items and text fields with label and tool tip text
- A lot more improvements
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Haeder [Mon, 27 Jul 2015 12:04:02 +0000 (14:04 +0200)]
Sorted members
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Haeder [Fri, 24 Jul 2015 10:34:37 +0000 (12:34 +0200)]
Sorted members
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
Roland Haeder [Fri, 24 Jul 2015 10:04:13 +0000 (12:04 +0200)]
Introduced initTable()
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Haeder [Mon, 20 Jul 2015 11:52:56 +0000 (13:52 +0200)]
sorted members
Signed-off-by:Roland Häder <roland@mxchange.org>
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>
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>
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>