From 8eae125e777194074b19ed1b7fb5ad2be4c3a461 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 7 Sep 2015 16:23:48 +0200 Subject: [PATCH] =?utf8?q?updated=20jcore.jar=20+=20jswingcore.jar=20+=20r?= =?utf8?q?emoved=20BaseAddressbookSystem=20Signed-off-by:Roland=20H=C3=A4d?= =?utf8?q?er=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcore.jar | Bin 29196 -> 29138 bytes lib/jswingcore.jar | Bin 8365 -> 7777 bytes .../addressbook/BaseAddressbookSystem.java | 32 ------------------ .../application/AddressbookApplication.java | 5 +-- .../client/gui/AddressbookFrame.java | 18 +++++----- .../addressbook/menu/AddressbookMenu.java | 3 +- .../mxchange/addressbook/menu/BaseMenu.java | 4 +-- .../mxchange/addressbook/menu/MenuTools.java | 4 +-- .../addressbook/menu/item/BaseMenuItem.java | 4 +-- 9 files changed, 17 insertions(+), 53 deletions(-) delete mode 100644 src/org/mxchange/addressbook/BaseAddressbookSystem.java diff --git a/lib/jcore.jar b/lib/jcore.jar index ad765c651eedef6a31b4c2d1ed677896302df52a..636db5cb817c5a8422435600d1eaa83f399dcde9 100644 GIT binary patch delta 1107 zcmY*XYe-XJ7=FKRJDba?=5jbj z(}ZW3Zc(vRT%@@{ETeGSjoL@PY*kS>G2m%k0&(NK&WQJQc5;Y4<&YM1=u3i6fCQ}& z45#pE znBgwO!2?(e55WQBun8VR4m^VzcmW6D6`X-7G#jqzXTSs>L4i*Y1q-kdzTmW>T>8#( ze~8>7<2oW?i*c*83?#B#a1+KVqX|MuB$eGPtuGe%ygr}H=7vCfu%UprgAElN)XsciDs`5M=u6IuzrPNCb?y#dvPRs~ zSh|`s`rO5t0s_Fx!FKcK>hl_KtT8*9dy+gBe<#yS5ACG+W*yDhZGioKOa?1>M>9qv@ldKuel z`_0;M$}NjeTyQJ2+s76A@Na@LYk(_f;>X_fw2-= zO{4HbIK*hEKUDlx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p7|OMXcp zPAb2g_R>g8Z@e_q6!J(@LIK6oNsAWJ;>^5r_F~%1}oDN2hVy#Am3uY>BjZomW-gp^VFC8+0l;p@+>uQSaqJ6`fS+U&n z8o!XEq`{1{>Y1+Lh7gv1pqS1*lH3M5UZ>6M?3k5GjVEoYD!oI4h`=sbx@}*s_EP>H z1%gR`UD_76c`bd(Rusktv)~&BzJ)hgTeyC7@{NOU7K_v>#iWjJ8~6^stK+tT@8PWt zl(3s!(!~OHFWxd3t9lK5AMfb6W#9++p@t*n!9_Xn2AsfP{v0y!BMci1d_&c{a05Ta z9fLt}oW)OepPlhLh#%@rbeMQ7Zjzu}q=OR{kC1;|)vE4M{hT=e$r*|3*_Fn#0V9#C}vgViQZxY{BE6`d9xf2;@ zc~*k8iZo|7DfS_=#Drh70n{0ZU7efO|g z!^a93FVk}rI#Cw!O-BuwN8^^`CEyB-rM!pp?pO7W-q_pc#R|1mMbJaug0k!ig$RvX(` zeoNx)JZI0Nl_x=6Jo}M#5&o@I=ozXihUxZ|+~O%ID-@9xYVlTR6q?RLT*GO0iLP1y zMk=!Yy`^$ZYeRv7?cMj#T#uo^uhBHr(BIjxhW1V_WIc~`yV!2Gcw?(Kws|tUovBHg zlYFy8*c72{`qg#1u%l!jCeNL`o?)jd8ut2D?B#*0xPZ)wGt`mJcBPN-?ZC5aP6EpJ zI#Bl|2{+L9G^#bq16on#XEZ z`30)T;Vc7GZEF<24. - */ -package org.mxchange.addressbook; - -import org.mxchange.jcore.BaseFrameworkSystem; - -/** - * General class for addressbook application - * - * @author Roland Haeder - */ -public class BaseAddressbookSystem extends BaseFrameworkSystem { - /** - * No instances can be created of this class - */ - protected BaseAddressbookSystem () { - } -} diff --git a/src/org/mxchange/addressbook/application/AddressbookApplication.java b/src/org/mxchange/addressbook/application/AddressbookApplication.java index 485e7a5b..2e16df4e 100644 --- a/src/org/mxchange/addressbook/application/AddressbookApplication.java +++ b/src/org/mxchange/addressbook/application/AddressbookApplication.java @@ -19,9 +19,6 @@ package org.mxchange.addressbook.application; import java.io.IOException; import java.sql.SQLException; import java.text.MessageFormat; -import java.util.logging.Level; -import java.util.logging.Logger; -import org.mxchange.addressbook.BaseAddressbookSystem; import org.mxchange.addressbook.client.AddressbookClient; import org.mxchange.addressbook.client.console.ConsoleClient; import org.mxchange.addressbook.client.gui.SwingClient; @@ -121,7 +118,7 @@ import org.mxchange.jcore.manager.application.ApplicationManager; * @author Roland Haeder * @version 0.0 */ -public class AddressbookApplication extends BaseAddressbookSystem implements Application { +public class AddressbookApplication extends BaseFrameworkSystem implements Application { /** * Application title diff --git a/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java b/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java index 1d0e3b9a..9afac98d 100644 --- a/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java +++ b/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java @@ -47,10 +47,10 @@ import javax.swing.JTextArea; import javax.swing.JTextField; import javax.swing.border.TitledBorder; import javax.swing.table.TableModel; -import org.mxchange.addressbook.BaseAddressbookSystem; import org.mxchange.addressbook.application.AddressbookApplication; import org.mxchange.addressbook.exceptions.ContactAlreadyAddedException; import org.mxchange.addressbook.manager.contact.ManageableContactAddressbook; +import org.mxchange.jcore.BaseFrameworkSystem; import org.mxchange.jcore.client.Client; import org.mxchange.jcore.exceptions.FrameAlreadyInitializedException; import org.mxchange.jcore.model.contact.Contact; @@ -62,7 +62,7 @@ import org.mxchange.jswingcore.model.swing.contact.ContactTableModel; * * @author Roland Haeder */ -public class AddressbookFrame extends BaseAddressbookSystem implements ClientFrame { +public class AddressbookFrame extends BaseFrameworkSystem implements ClientFrame { /** * Own instance @@ -589,16 +589,16 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra this.frame.setLocationRelativeTo(null); // Init menu system - initMenuSystem(); + this.initMenuSystem(); // Init table - initTable(); + this.initTable(); // Init status panel - initStatusPanel(); + this.initStatusPanel(); // Init other windows - initOtherDialogs(); + this.initOtherDialogs(); // Trace message this.getLogger().trace("EXIT!"); //NOI18N @@ -871,7 +871,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra this.getLogger().trace("CALLED!"); //NOI18N // Instance table model - this.dataModel = new ContactTableModel(this.getClient()); + this.dataModel = new ContactTableModel(this.getClient().getManager()); // Instance table this.dataTable = new JTable(this.dataModel); @@ -923,7 +923,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra /** * Class for "add address" button */ - private static class AddActionListener extends BaseAddressbookSystem implements ActionListener { + private static class AddActionListener extends BaseFrameworkSystem implements ActionListener { /** * Dialog instance */ @@ -960,7 +960,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra /** * Class for "cancel address" button */ - private static class CancelActionListener extends BaseAddressbookSystem implements ActionListener { + private static class CancelActionListener extends BaseFrameworkSystem implements ActionListener { /** * Dialog instance */ diff --git a/src/org/mxchange/addressbook/menu/AddressbookMenu.java b/src/org/mxchange/addressbook/menu/AddressbookMenu.java index b59b13e0..7f7cc353 100644 --- a/src/org/mxchange/addressbook/menu/AddressbookMenu.java +++ b/src/org/mxchange/addressbook/menu/AddressbookMenu.java @@ -19,7 +19,6 @@ package org.mxchange.addressbook.menu; import java.text.MessageFormat; import java.util.List; import org.apache.logging.log4j.Logger; -import org.mxchange.addressbook.BaseAddressbookSystem; import org.mxchange.addressbook.client.AddressbookClient; import org.mxchange.addressbook.menu.item.SelectableMenuItem; import org.mxchange.jcore.client.Client; @@ -29,7 +28,7 @@ import org.mxchange.jcore.client.Client; * * @author Roland Haeder */ -public class AddressbookMenu extends BaseAddressbookSystem { +public class AddressbookMenu extends BaseMenu { /** * Copies entries for given type into the menu list diff --git a/src/org/mxchange/addressbook/menu/BaseMenu.java b/src/org/mxchange/addressbook/menu/BaseMenu.java index 207a9b31..3e9f79b1 100644 --- a/src/org/mxchange/addressbook/menu/BaseMenu.java +++ b/src/org/mxchange/addressbook/menu/BaseMenu.java @@ -20,16 +20,16 @@ import java.text.MessageFormat; import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.mxchange.addressbook.BaseAddressbookSystem; import org.mxchange.addressbook.client.AddressbookClient; import org.mxchange.addressbook.menu.item.SelectableMenuItem; +import org.mxchange.jcore.BaseFrameworkSystem; import org.mxchange.jcore.client.Client; /** * * @author Roland Haeder */ -public class BaseMenu extends BaseAddressbookSystem { +public class BaseMenu extends BaseFrameworkSystem { /** * Menu list diff --git a/src/org/mxchange/addressbook/menu/MenuTools.java b/src/org/mxchange/addressbook/menu/MenuTools.java index d5f46952..ee03267c 100644 --- a/src/org/mxchange/addressbook/menu/MenuTools.java +++ b/src/org/mxchange/addressbook/menu/MenuTools.java @@ -19,14 +19,14 @@ package org.mxchange.addressbook.menu; import java.util.Iterator; import java.util.Map; import org.apache.logging.log4j.Logger; -import org.mxchange.addressbook.BaseAddressbookSystem; import org.mxchange.addressbook.menu.item.SelectableMenuItem; +import org.mxchange.jcore.BaseFrameworkSystem; /** * * @author Roland Haeder */ -public class MenuTools extends BaseAddressbookSystem { +public class MenuTools extends BaseFrameworkSystem { /** * Gets an array with all available access keys back from given menu map. diff --git a/src/org/mxchange/addressbook/menu/item/BaseMenuItem.java b/src/org/mxchange/addressbook/menu/item/BaseMenuItem.java index 4bb1cf9e..a750aaf7 100644 --- a/src/org/mxchange/addressbook/menu/item/BaseMenuItem.java +++ b/src/org/mxchange/addressbook/menu/item/BaseMenuItem.java @@ -16,12 +16,12 @@ */ package org.mxchange.addressbook.menu.item; -import org.mxchange.addressbook.BaseAddressbookSystem; +import org.mxchange.jcore.BaseFrameworkSystem; /** * * @author Roland Haeder */ -public class BaseMenuItem extends BaseAddressbookSystem { +public class BaseMenuItem extends BaseFrameworkSystem { } -- 2.39.5