]>
git.mxchange.org Git - jfinancials-swing.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Haeder [Wed, 15 Jul 2015 06:31:34 +0000 (08:31 +0200)]
Initial commit
Signed-off-by:Roland Häder <roland@mxchange.org>