This commit is contained in:
2026-01-09 17:43:55 +00:00
parent 719919641b
commit 2ab11480ce
30 changed files with 869 additions and 817 deletions
+4
View File
@@ -8,3 +8,7 @@ nbactions.xml
docker.sock docker.sock
.DS_Store .DS_Store
.classpath
.project
.factorypath
.settings
@@ -34,7 +34,6 @@ import java.util.regex.Pattern;
@Slf4j @Slf4j
public class StaticSentence extends JDBCSentence { public class StaticSentence extends JDBCSentence {
private ISQLBuilderStatic iSQLBuilder; private ISQLBuilderStatic iSQLBuilder;
/** /**
@@ -136,13 +135,13 @@ public class StaticSentence extends JDBCSentence {
return sqliteSQL.toString(); return sqliteSQL.toString();
} }
} } catch (Exception e) {
catch (Exception e) {
log.error("Error fixing sql for sqlite {}", e.getMessage()); log.error("Error fixing sql for sqlite {}", e.getMessage());
return sql; return sql;
} }
return sql; return sql;
} }
/** /**
* @param params * @param params
* @return * @return
@@ -156,9 +155,11 @@ public class StaticSentence extends JDBCSentence {
closeExec(); closeExec();
try { try {
// follow this to find the create category bug when importing a product csv
String sentence = fixSqliteDate(iSQLBuilder.getSQL(m_SerWrite, params)); // https://unicenta.atlassian.net/browse/UOCL-317
//String sentence = iSQLBuilder.getSQL(m_SerWrite, params); String sql = iSQLBuilder.getSQL(m_SerWrite, params);
String sentence = fixSqliteDate(sql);
// String sentence = iSQLBuilder.getSQL(m_SerWrite, params);
statement = session.getConnection().createStatement(); statement = session.getConnection().createStatement();
@@ -50,10 +50,12 @@ public class DataLogicAdmin extends BeanFactoryDataSingle {
m_tpeople = new TableDefinition(s, m_tpeople = new TableDefinition(s,
"people" "people"
, new String[] {"ID", "NAME", "APPPASSWORD", "ROLE", "VISIBLE", "CARD", "IMAGE"} , new String[] {"ID", "NAME", "APPPASSWORD", "ROLE", "VISIBLE", "CARD", "IMAGE", "TAXID"}
, new String[] {"ID", AppLocal.getIntString("label.peoplename"), AppLocal.getIntString("label.Password"), AppLocal.getIntString("label.role"), AppLocal.getIntString("label.peoplevisible"), AppLocal.getIntString("label.card"), AppLocal.getIntString("label.peopleimage")} , new String[] {"ID", AppLocal.getIntString("label.peoplename"), AppLocal.getIntString("label.Password"),
, new Datas[] {Datas.STRING, Datas.STRING, Datas.STRING, Datas.STRING, Datas.BOOLEAN, Datas.STRING, Datas.IMAGE} AppLocal.getIntString("label.role"), AppLocal.getIntString("label.peoplevisible"),
, new Formats[] {Formats.STRING, Formats.STRING, Formats.STRING, Formats.STRING, Formats.BOOLEAN, Formats.STRING, Formats.NULL} AppLocal.getIntString("label.card"), AppLocal.getIntString("label.peopleimage"), "tax ID"}
, new Datas[] {Datas.STRING, Datas.STRING, Datas.STRING, Datas.STRING, Datas.BOOLEAN, Datas.STRING, Datas.IMAGE, Datas.STRING}
, new Formats[] {Formats.STRING, Formats.STRING, Formats.STRING, Formats.STRING, Formats.BOOLEAN, Formats.STRING, Formats.NULL, Formats.STRING}
, new int[] {0} , new int[] {0}
); );
@@ -139,6 +139,7 @@ public class PeopleView extends JPanel implements EditorRecord {
m_jVisible.setSelected(((Boolean) people[4]).booleanValue()); m_jVisible.setSelected(((Boolean) people[4]).booleanValue());
m_jcard.setText(Formats.STRING.formatValue(people[5])); m_jcard.setText(Formats.STRING.formatValue(people[5]));
m_jImage.setImage((BufferedImage) people[6]); m_jImage.setImage((BufferedImage) people[6]);
taxIdTextField.setText(Formats.STRING.formatValue(people[7]));
m_jName.setEnabled(false); m_jName.setEnabled(false);
m_jRole.setEnabled(false); m_jRole.setEnabled(false);
@@ -163,13 +164,13 @@ public class PeopleView extends JPanel implements EditorRecord {
m_jVisible.setSelected(((Boolean) people[4]).booleanValue()); m_jVisible.setSelected(((Boolean) people[4]).booleanValue());
m_jcard.setText(Formats.STRING.formatValue(people[5])); m_jcard.setText(Formats.STRING.formatValue(people[5]));
m_jImage.setImage((BufferedImage) people[6]); m_jImage.setImage((BufferedImage) people[6]);
taxIdTextField.setText(Formats.STRING.formatValue(people[7]));
if (m_jcard.getText().length() == 16) { if (m_jcard.getText().length() == 16) {
jLblCardID.setText(AppLocal.getIntString("label.ibutton")); jLblCardID.setText(AppLocal.getIntString("label.ibutton"));
} else { } else {
jLblCardID.setText(AppLocal.getIntString("label.card")); jLblCardID.setText(AppLocal.getIntString("label.card"));
} }
System.out.println(m_jcard.getText().length()); // System.out.println(m_jcard.getText().length());
m_jName.setEnabled(true); m_jName.setEnabled(true);
m_jRole.setEnabled(true); m_jRole.setEnabled(true);
@@ -187,7 +188,7 @@ public class PeopleView extends JPanel implements EditorRecord {
*/ */
@Override @Override
public Object createValue() throws BasicException { public Object createValue() throws BasicException {
Object[] people = new Object[7]; Object[] people = new Object[8];
people[0] = m_oId == null ? UUID.randomUUID().toString() : m_oId; people[0] = m_oId == null ? UUID.randomUUID().toString() : m_oId;
people[1] = Formats.STRING.parseValue(m_jName.getText()); people[1] = Formats.STRING.parseValue(m_jName.getText());
people[2] = Formats.STRING.parseValue(m_sPassword); people[2] = Formats.STRING.parseValue(m_sPassword);
@@ -195,6 +196,7 @@ public class PeopleView extends JPanel implements EditorRecord {
people[4] = m_jVisible.isSelected(); people[4] = m_jVisible.isSelected();
people[5] = Formats.STRING.parseValue(m_jcard.getText()); people[5] = Formats.STRING.parseValue(m_jcard.getText());
people[6] = m_jImage.getImage(); people[6] = m_jImage.getImage();
people[7] = Formats.STRING.parseValue(taxIdTextField.getText());
return people; return people;
} }
@@ -70,7 +70,7 @@ public class AppUser {
* @param icon * @param icon
* @param role * @param role
*/ */
public AppUser(String id, String name, String password, String card, String role, Icon icon) { public AppUser(String id, String name, String password, String card, String role, Icon icon, String taxId) {
m_sId = id; m_sId = id;
m_sName = name; m_sName = name;
m_sPassword = password; m_sPassword = password;
@@ -121,7 +121,8 @@ public class DataLogicSystem extends BeanFactoryDataSingle {
dr.getString(3), dr.getString(3),
dr.getString(4), dr.getString(4),
dr.getString(5), dr.getString(5),
new ImageIcon(tnb.getThumbNail(ImageUtils.readImage(dr.getBytes(6))))); new ImageIcon(tnb.getThumbNail(ImageUtils.readImage(dr.getBytes(6)))),
dr.getString(7));
// START OF PRODUCT ************************************************************ // START OF PRODUCT ************************************************************
productIdRead =(DataRead dr) -> ( productIdRead =(DataRead dr) -> (
@@ -208,12 +209,12 @@ public class DataLogicSystem extends BeanFactoryDataSingle {
// END OF CUSTOMER ****************************************************************** // END OF CUSTOMER ******************************************************************
m_peoplevisible = new StaticSentence(s m_peoplevisible = new StaticSentence(s
, "SELECT ID, NAME, APPPASSWORD, CARD, ROLE, IMAGE FROM people WHERE VISIBLE = " + s.DB.TRUE() + " ORDER BY NAME" , "SELECT ID, NAME, APPPASSWORD, CARD, ROLE, IMAGE, TAXID FROM people WHERE VISIBLE = " + s.DB.TRUE() + " ORDER BY NAME"
, null , null
, peopleread); , peopleread);
m_peoplebycard = new PreparedSentence(s m_peoplebycard = new PreparedSentence(s
, "SELECT ID, NAME, APPPASSWORD, CARD, ROLE, IMAGE FROM people WHERE CARD = ? AND VISIBLE = " + s.DB.TRUE() , "SELECT ID, NAME, APPPASSWORD, CARD, ROLE, IMAGE, TAXID FROM people WHERE CARD = ? AND VISIBLE = " + s.DB.TRUE()
, SerializerWriteString.INSTANCE , SerializerWriteString.INSTANCE
, peopleread); , peopleread);
@@ -19,7 +19,6 @@
package com.unicenta.pos.transfer; package com.unicenta.pos.transfer;
import com.unicenta.basic.BasicException; import com.unicenta.basic.BasicException;
import com.unicenta.data.gui.JMessageDialog; import com.unicenta.data.gui.JMessageDialog;
import com.unicenta.data.gui.MessageInf; import com.unicenta.data.gui.MessageInf;
@@ -193,7 +192,7 @@ public final class Transfer extends JPanel implements JPanelView {
Class.forName(jtxtDbDriver.getText()); Class.forName(jtxtDbDriver.getText());
ClassLoader cloader = new URLClassLoader( ClassLoader cloader = new URLClassLoader(
new URL[]{ new URL[] {
new File(jtxtDbDriverLib.getText()).toURI().toURL() new File(jtxtDbDriverLib.getText()).toURI().toURL()
}); });
DriverManager.registerDriver( DriverManager.registerDriver(
@@ -225,13 +224,12 @@ public final class Transfer extends JPanel implements JPanelView {
} }
/** /**
* @return * @return
*/ */
@SuppressWarnings("empty-statement") @SuppressWarnings("empty-statement")
public Boolean createTargetDB() { public Boolean createTargetDB() {
// Transfer is into current MySQL database in unicentaopos.properties // Transfer is into current MySQL database in unicentaopos.properties
targetCreate = "/com/unicenta/pos/scripts/" + sDB_target + "-create-transfer.sql"; targetCreate = "/com/unicenta/pos/scripts/" + sDB_target + "-create-transfer.sql";
targetFKadd = "/com/unicenta/pos/scripts/MySQL-FKeys.sql"; targetFKadd = "/com/unicenta/pos/scripts/MySQL-FKeys.sql";
@@ -326,7 +324,7 @@ public final class Transfer extends JPanel implements JPanelView {
ImageIcon icon = new ImageIcon("/com/unicenta/images/unicentaopos.png"); ImageIcon icon = new ImageIcon("/com/unicenta/images/unicentaopos.png");
Object[] dbs = { Object[] dbs = {
"0 - " + m_props.getProperty("db.name"), "0 - " + m_props.getProperty("db.name"),
"1 - " + m_props.getProperty("db1.name")}; "1 - " + m_props.getProperty("db1.name") };
Object s = (Object) JOptionPane.showInputDialog( Object s = (Object) JOptionPane.showInputDialog(
null, AppLocal.getIntString("message.databasechoose"), null, AppLocal.getIntString("message.databasechoose"),
@@ -592,8 +590,8 @@ public final class Transfer extends JPanel implements JPanelView {
SQL = "SELECT ID, ATTRIBUTESET_ID, ATTRIBUTE_ID FROM attributeuse"; SQL = "SELECT ID, ATTRIBUTESET_ID, ATTRIBUTE_ID FROM attributeuse";
rs = stmt_source.executeQuery(SQL); rs = stmt_source.executeQuery(SQL);
// removed LINENO as weird bug in MySQL causes Lock Timeout // removed LINENO as weird bug in MySQL causes Lock Timeout
// only happens to this table, no other affected // only happens to this table, no other affected
while (rs.next()) { while (rs.next()) {
SQL = "INSERT INTO attributeuse(" SQL = "INSERT INTO attributeuse("
@@ -628,7 +626,7 @@ public final class Transfer extends JPanel implements JPanelView {
pstmt.executeUpdate(); pstmt.executeUpdate();
} }
rs.close(); rs.close();
// introduced in 3.00 // introduced in 3.00
if (Dbtversion >= 3.00) { if (Dbtversion >= 3.00) {
Dbtname = "breaks"; Dbtname = "breaks";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -847,7 +845,7 @@ public final class Transfer extends JPanel implements JPanelView {
} }
rs.close(); rs.close();
// introduced 3.50 // introduced 3.50
if (Dbtversion >= 3.50) { if (Dbtversion >= 3.50) {
Dbtname = "draweropened"; Dbtname = "draweropened";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -891,7 +889,7 @@ public final class Transfer extends JPanel implements JPanelView {
} }
rs.close(); rs.close();
// introduced in 3.00 // introduced in 3.00
if (Dbtversion >= 3.00) { if (Dbtversion >= 3.00) {
Dbtname = "leaves"; Dbtname = "leaves";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -922,7 +920,7 @@ public final class Transfer extends JPanel implements JPanelView {
} }
rs.close(); rs.close();
// introduced in 3.70 // introduced in 3.70
if (Dbtversion >= 3.70) { if (Dbtversion >= 3.70) {
Dbtname = "lineremoved"; Dbtname = "lineremoved";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -974,7 +972,7 @@ public final class Transfer extends JPanel implements JPanelView {
} }
rs.close(); rs.close();
// moorers introduced in 3.50 // moorers introduced in 3.50
if (Dbtversion >= 3.50) { if (Dbtversion >= 3.50) {
Dbtname = "moorers"; Dbtname = "moorers";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -1065,25 +1063,24 @@ public final class Transfer extends JPanel implements JPanelView {
while (rs.next()) { while (rs.next()) {
SQL = "INSERT INTO people(" SQL = "INSERT INTO people("
+ "ID, NAME, APPPASSWORD, CARD, " + "ID, NAME, APPPASSWORD, TAXID, CARD, ROLE, VISIBLE, IMAGE)"
+ "ROLE, VISIBLE, IMAGE) " + "VALUES (?, ?, ?, ?, ?, ?, ?, ?)";
+ "VALUES (?, ?, ?, ?, "
+ "?, ?, ?)";
pstmt = con_target.prepareStatement(SQL); pstmt = con_target.prepareStatement(SQL);
pstmt.setString(1, rs.getString("ID")); pstmt.setString(1, rs.getString("ID"));
pstmt.setString(2, rs.getString("NAME")); pstmt.setString(2, rs.getString("NAME"));
pstmt.setString(3, rs.getString("APPPASSWORD")); pstmt.setString(3, rs.getString("APPPASSWORD"));
pstmt.setString(4, rs.getString("CARD")); pstmt.setString(4, rs.getString("TAXID"));
pstmt.setString(5, rs.getString("ROLE")); pstmt.setString(5, rs.getString("CARD"));
pstmt.setBoolean(6, rs.getBoolean("VISIBLE")); pstmt.setString(6, rs.getString("ROLE"));
pstmt.setBytes(7, rs.getBytes("IMAGE")); pstmt.setBoolean(7, rs.getBoolean("VISIBLE"));
pstmt.setBytes(8, rs.getBytes("IMAGE"));
pstmt.executeUpdate(); pstmt.executeUpdate();
} }
rs.close(); rs.close();
// pickup_number introduced in 3.50 // pickup_number introduced in 3.50
if (Dbtversion >= 3.50 && !jtxtDbType.getText().equals("jdbc:postgresql://")) { if (Dbtversion >= 3.50 && !jtxtDbType.getText().equals("jdbc:postgresql://")) {
Dbtname = "pickup_number"; Dbtname = "pickup_number";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -1104,7 +1101,8 @@ public final class Transfer extends JPanel implements JPanelView {
} else { } else {
txtOut.append("Pickup Number... skipped" + "\n"); txtOut.append("Pickup Number... skipped" + "\n");
} }
// deliberately verbose chunk so can see diff's between PostgreSQL v9 & v10 sequence // deliberately verbose chunk so can see diff's between PostgreSQL v9 & v10
// sequence
if (Dbtversion >= 3.50 && jtxtDbType.getText().equals("jdbc:postgresql://")) { if (Dbtversion >= 3.50 && jtxtDbType.getText().equals("jdbc:postgresql://")) {
Dbtname = "pickup_number"; Dbtname = "pickup_number";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -1479,7 +1477,7 @@ public final class Transfer extends JPanel implements JPanelView {
} }
rs.close(); rs.close();
// introduced in 3.00 // introduced in 3.00
if (Dbtversion >= 3.00) { if (Dbtversion >= 3.00) {
Dbtname = "shift_breaks"; Dbtname = "shift_breaks";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -1509,7 +1507,7 @@ public final class Transfer extends JPanel implements JPanelView {
} }
rs.close(); rs.close();
// introduced in 3.00 // introduced in 3.00
if (Dbtversion >= 3.00) { if (Dbtversion >= 3.00) {
Dbtname = "shifts"; Dbtname = "shifts";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -1634,7 +1632,7 @@ public final class Transfer extends JPanel implements JPanelView {
} }
rs.close(); rs.close();
// introduced in 4 // introduced in 4
if (Dbtversion >= 4.00) { if (Dbtversion >= 4.00) {
Dbtname = "suppliers"; Dbtname = "suppliers";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -1886,7 +1884,7 @@ public final class Transfer extends JPanel implements JPanelView {
} else { } else {
txtOut.append("Ticket Number... skipped" + "\n"); txtOut.append("Ticket Number... skipped" + "\n");
} }
// deliberately verbose chunk so can see diff's between PostgreSQL v9 & v10 // deliberately verbose chunk so can see diff's between PostgreSQL v9 & v10
if (Dbtversion >= 3.50 && jtxtDbType.getText().equals("jdbc:postgresql://")) { if (Dbtversion >= 3.50 && jtxtDbType.getText().equals("jdbc:postgresql://")) {
Dbtname = "ticketsnum"; Dbtname = "ticketsnum";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -1927,7 +1925,8 @@ public final class Transfer extends JPanel implements JPanelView {
} else { } else {
txtOut.append("Ticket Payment... skipped" + "\n"); txtOut.append("Ticket Payment... skipped" + "\n");
} }
// deliberately verbose chunk so can see diff's between PostgreSQL v9 & v10 sequence // deliberately verbose chunk so can see diff's between PostgreSQL v9 & v10
// sequence
if (Dbtversion >= 3.50 && jtxtDbType.getText().equals("jdbc:postgresql://")) { if (Dbtversion >= 3.50 && jtxtDbType.getText().equals("jdbc:postgresql://")) {
Dbtname = "ticketsnum_payment"; Dbtname = "ticketsnum_payment";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -1968,7 +1967,8 @@ public final class Transfer extends JPanel implements JPanelView {
} else { } else {
txtOut.append("Ticket Refund... skipped" + "\n"); txtOut.append("Ticket Refund... skipped" + "\n");
} }
// deliberately verbose chunk so can see diff's between PostgreSQL v9 & v10 sequence // deliberately verbose chunk so can see diff's between PostgreSQL v9 & v10
// sequence
if (Dbtversion >= 3.50 && jtxtDbType.getText().equals("jdbc:postgresql://")) { if (Dbtversion >= 3.50 && jtxtDbType.getText().equals("jdbc:postgresql://")) {
Dbtname = "ticketsnum_payment"; Dbtname = "ticketsnum_payment";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -1990,7 +1990,7 @@ public final class Transfer extends JPanel implements JPanelView {
} }
rs.close(); rs.close();
// introduced in 4 // introduced in 4
if (Dbtversion >= 4.00) { if (Dbtversion >= 4.00) {
Dbtname = "uom"; Dbtname = "uom";
rs = con_source.getMetaData().getTables(null, null, Dbtname, null); rs = con_source.getMetaData().getTables(null, null, Dbtname, null);
@@ -2051,11 +2051,9 @@ public final class Transfer extends JPanel implements JPanelView {
log.error(ex.getMessage()); log.error(ex.getMessage());
} }
// Add ForeignKeys // Add ForeignKeys
JOptionPane.showMessageDialog(this JOptionPane.showMessageDialog(this, AppLocal.getIntString("message.transfercomplete"),
, AppLocal.getIntString("message.transfercomplete") AppLocal.getIntString("message.transfermessage"), JOptionPane.WARNING_MESSAGE);
, AppLocal.getIntString("message.transfermessage")
, JOptionPane.WARNING_MESSAGE);
FKeys(); FKeys();
txtOut.append("Data Transfer Complete" + "\n"); txtOut.append("Data Transfer Complete" + "\n");
@@ -2064,10 +2062,8 @@ public final class Transfer extends JPanel implements JPanelView {
webPBar.setBgBottom(Color.GREEN); webPBar.setBgBottom(Color.GREEN);
jbtnTransfer.setEnabled(true); jbtnTransfer.setEnabled(true);
JOptionPane.showMessageDialog(this JOptionPane.showMessageDialog(this, AppLocal.getIntString("message.indexcomplete"),
, AppLocal.getIntString("message.indexcomplete") AppLocal.getIntString("message.transfermessage"), JOptionPane.WARNING_MESSAGE);
, AppLocal.getIntString("message.transfermessage")
, JOptionPane.WARNING_MESSAGE);
} catch (SQLException | HeadlessException e) { } catch (SQLException | HeadlessException e) {
session_source.close(); session_source.close();
@@ -2076,10 +2072,8 @@ public final class Transfer extends JPanel implements JPanelView {
} }
} else { } else {
JFrame frame = new JFrame(); JFrame frame = new JFrame();
JOptionPane.showMessageDialog(frame JOptionPane.showMessageDialog(frame, AppLocal.getIntString("message.transfernotsupported"),
, AppLocal.getIntString("message.transfernotsupported") AppLocal.getIntString("message.transfermessage"), JOptionPane.WARNING_MESSAGE);
, AppLocal.getIntString("message.transfermessage")
, JOptionPane.WARNING_MESSAGE);
} }
SQL = "COMMIT;\n" + SQL = "COMMIT;\n" +
@@ -2093,7 +2087,8 @@ public final class Transfer extends JPanel implements JPanelView {
} }
public void fillSchema() { public void fillSchema() {
/* Use existing session credentials but declare new session and connection /*
* Use existing session credentials but declare new session and connection
* to keep separated from current session instance as database could * to keep separated from current session instance as database could
* be a different server * be a different server
*/ */
@@ -2112,13 +2107,12 @@ public final class Transfer extends JPanel implements JPanelView {
String user = txtDbUser.getText(); String user = txtDbUser.getText();
String password = new String(txtDbPass.getPassword()); String password = new String(txtDbPass.getPassword());
ClassLoader cloader = new URLClassLoader(new URL[]{ ClassLoader cloader = new URLClassLoader(new URL[] {
new File(driverlib).toURI().toURL() new File(driverlib).toURI().toURL()
}); });
DriverManager.registerDriver( DriverManager.registerDriver(
new DriverWrapper((Driver) new DriverWrapper((Driver) Class.forName(driver, true, cloader).newInstance()));
Class.forName(driver, true, cloader).newInstance()));
Session session1 = new Session(url, user, password); Session session1 = new Session(url, user, password);
@@ -2146,7 +2140,7 @@ public final class Transfer extends JPanel implements JPanelView {
} }
public void reset() { public void reset() {
// Main Panel // Main Panel
jtxtDbDriver.setText("com.mysql.jdbc.Driver"); jtxtDbDriver.setText("com.mysql.jdbc.Driver");
jtxtDbType.setText("jdbc:mysql://"); jtxtDbType.setText("jdbc:mysql://");
jtxtDbServerPort.setText("localhost:3306/"); jtxtDbServerPort.setText("localhost:3306/");
@@ -2154,7 +2148,7 @@ public final class Transfer extends JPanel implements JPanelView {
txtDbPass.setText(null); txtDbPass.setText(null);
jbtnConnect.setEnabled(true); jbtnConnect.setEnabled(true);
// TransferPanel // TransferPanel
jCBSchema.removeAllItems(); jCBSchema.removeAllItems();
jtxtDbName.setText(null); jtxtDbName.setText(null);
jtxtDbParams.setText("?zeroDateTimeBehavior=convertToNull"); jtxtDbParams.setText("?zeroDateTimeBehavior=convertToNull");
@@ -2169,7 +2163,8 @@ public final class Transfer extends JPanel implements JPanelView {
* WARNING: Do NOT modify this code. The content of this method is always * WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor. * regenerated by the Form Editor.
*/ */
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents // <editor-fold defaultstate="collapsed" desc="Generated
// Code">//GEN-BEGIN:initComponents
private void initComponents() { private void initComponents() {
jLabel5 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel();
@@ -2508,70 +2503,105 @@ public final class Transfer extends JPanel implements JPanelView {
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jTransferPanelLayout.createSequentialGroup() .addGroup(jTransferPanelLayout.createSequentialGroup()
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE,
.addComponent(jtxtDbName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jtxtDbName, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(7, 7, 7) .addGap(7, 7, 7)
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addGroup(
jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addGroup(jTransferPanelLayout.createSequentialGroup() .addGroup(jTransferPanelLayout.createSequentialGroup()
.addComponent(jlblVersion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jlblVersion, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 100,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jlblDBSize, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jlblDBSize, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jTransferPanelLayout.createSequentialGroup() .addGroup(jTransferPanelLayout.createSequentialGroup()
.addComponent(jbtnSet, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jbtnSet, javax.swing.GroupLayout.PREFERRED_SIZE,
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jbtnTransfer, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jbtnTransfer, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jbtnReset1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jbtnReset1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jTransferPanelLayout.createSequentialGroup() .addGroup(jTransferPanelLayout.createSequentialGroup()
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(
jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addGroup(jTransferPanelLayout.createSequentialGroup() .addGroup(jTransferPanelLayout.createSequentialGroup()
.addComponent(jLabel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel13, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jCBSchema, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jCBSchema, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jLabel15, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jLabel15, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(
.addComponent(webMemoryBar, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE) jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(webMemoryBar, javax.swing.GroupLayout.PREFERRED_SIZE, 125,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 1, Short.MAX_VALUE))) .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 1, Short.MAX_VALUE)))
.addGroup(jTransferPanelLayout.createSequentialGroup() .addGroup(jTransferPanelLayout.createSequentialGroup()
.addComponent(jLabel14, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel14, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jtxtDbParams, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addComponent(jtxtDbParams, javax.swing.GroupLayout.PREFERRED_SIZE,
.addContainerGap()) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
); .addContainerGap()));
jTransferPanelLayout.setVerticalGroup( jTransferPanelLayout.setVerticalGroup(
jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jTransferPanelLayout.createSequentialGroup() .addGroup(jTransferPanelLayout.createSequentialGroup()
.addContainerGap() .addContainerGap()
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jCBSchema, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(webMemoryBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jCBSchema, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(webMemoryBar, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jtxtDbParams, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jtxtDbParams, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jlblVersion, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jlblVersion, javax.swing.GroupLayout.Alignment.TRAILING,
.addComponent(jLabel11, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
.addComponent(jLabel7, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jlblDBSize, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jLabel11, javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel7, javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jlblDBSize, javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(jTransferPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jbtnTransfer, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jbtnTransfer, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jbtnSet, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jtxtDbName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jbtnSet, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jbtnReset1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap()) .addComponent(jtxtDbName, javax.swing.GroupLayout.PREFERRED_SIZE,
); javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jbtnReset1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap()));
jbtnReset.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N jbtnReset.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
jbtnReset.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/unicenta/images/reload.png"))); // NOI18N jbtnReset.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/unicenta/images/reload.png"))); // NOI18N
@@ -2602,120 +2632,175 @@ public final class Transfer extends JPanel implements JPanelView {
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(cbSource, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(cbSource, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE,
.addComponent(jLabel12, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel12, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jtxtDbType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jtxtDbType, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jtxtDbServerPort, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jtxtDbServerPort, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel18, javax.swing.GroupLayout.DEFAULT_SIZE,
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jtxtDbDriver, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jtxtDbDriver, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addComponent(jtxtDbDriverLib, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jtxtDbDriverLib, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jbtnDbDriverLib, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jbtnDbDriverLib, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addGap(366, 366, 366) .addGap(366, 366, 366)
.addComponent(jbtnReset, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addComponent(jbtnReset, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))))
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jbtnConnect, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jbtnConnect, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addComponent(txtDbUser, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtDbUser, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(txtDbPass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(txtDbPass, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jTransferPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jTransferPanel, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 202, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 202,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jlblSource, javax.swing.GroupLayout.PREFERRED_SIZE, 316, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jlblSource, javax.swing.GroupLayout.PREFERRED_SIZE, 316,
.addComponent(jLabel16, javax.swing.GroupLayout.PREFERRED_SIZE, 278, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jLabel16, javax.swing.GroupLayout.PREFERRED_SIZE, 278,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 125,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(webPBar, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(webPBar, javax.swing.GroupLayout.PREFERRED_SIZE, 109,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addGap(18, 18, 18) .addGap(18, 18, 18)
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE,
.addContainerGap()))) javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
); .addContainerGap()))));
layout.setVerticalGroup( layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap() .addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(webPBar, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(webPBar, javax.swing.GroupLayout.PREFERRED_SIZE, 32,
.addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel6, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jlblSource, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel6, javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jlblSource, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addComponent(jLabel16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel16, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup() .addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(cbSource, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(cbSource, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
.addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jtxtDbDriverLib, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE,
.addComponent(jbtnDbDriverLib, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jtxtDbDriverLib, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jbtnDbDriverLib, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jtxtDbDriver, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jtxtDbDriver, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jtxtDbType, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jtxtDbType, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jtxtDbServerPort, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jtxtDbServerPort, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(txtDbUser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtDbUser, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(txtDbPass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(txtDbPass, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jbtnConnect, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jbtnConnect, javax.swing.GroupLayout.PREFERRED_SIZE,
.addComponent(jbtnReset, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jbtnReset, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jTransferPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTransferPanel, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE)) .addGap(0, 0, Short.MAX_VALUE))
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE,
.addContainerGap()) javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
); .addContainerGap()));
jLabel1.getAccessibleContext().setAccessibleName("DBDriver"); jLabel1.getAccessibleContext().setAccessibleName("DBDriver");
}// </editor-fold>//GEN-END:initComponents }// </editor-fold>//GEN-END:initComponents
private void jbtnTransferActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnTransferActionPerformed private void jbtnTransferActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jbtnTransferActionPerformed
if (JOptionPane.showConfirmDialog(this, if (JOptionPane.showConfirmDialog(this,
AppLocal.getIntString("message.transfer"), AppLocal.getIntString("message.transfer"),
@@ -2734,22 +2819,22 @@ public final class Transfer extends JPanel implements JPanelView {
} }
}; };
//worker.execute(); // worker.execute();
customExecutor.submit(worker); customExecutor.submit(worker);
} }
System.gc(); System.gc();
}//GEN-LAST:event_jbtnTransferActionPerformed }// GEN-LAST:event_jbtnTransferActionPerformed
private void jbtnResetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnResetActionPerformed private void jbtnResetActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jbtnResetActionPerformed
reset(); reset();
deactivate(); deactivate();
}//GEN-LAST:event_jbtnResetActionPerformed }// GEN-LAST:event_jbtnResetActionPerformed
private void jbtnConnectjButtonTestConnectionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnConnectjButtonTestConnectionActionPerformed private void jbtnConnectjButtonTestConnectionActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jbtnConnectjButtonTestConnectionActionPerformed
if (!jtxtDbName.getText().equalsIgnoreCase(jlblSource.getText())) { if (!jtxtDbName.getText().equalsIgnoreCase(jlblSource.getText())) {
try { try {
@@ -2767,18 +2852,18 @@ public final class Transfer extends JPanel implements JPanelView {
String user = txtDbUser.getText(); String user = txtDbUser.getText();
String password = new String(txtDbPass.getPassword()); String password = new String(txtDbPass.getPassword());
ClassLoader cloader = new URLClassLoader(new URL[]{ ClassLoader cloader = new URLClassLoader(new URL[] {
new File(driverlib).toURI().toURL() new File(driverlib).toURI().toURL()
}); });
DriverManager.registerDriver( DriverManager.registerDriver(
new DriverWrapper((Driver) new DriverWrapper((Driver) Class.forName(driver, true, cloader).newInstance()));
Class.forName(driver, true, cloader).newInstance()));
Session session_source = new Session(url, user, password); Session session_source = new Session(url, user, password);
Connection connection = session_source.getConnection(); Connection connection = session_source.getConnection();
boolean isValid = (connection == null) boolean isValid = (connection == null)
? false : connection.isValid(1000); ? false
: connection.isValid(1000);
if (isValid) { if (isValid) {
if (!"Derby".equals(cbSource.getSelectedItem())) { if (!"Derby".equals(cbSource.getSelectedItem())) {
@@ -2797,8 +2882,7 @@ public final class Transfer extends JPanel implements JPanelView {
JOptionPane.showMessageDialog(this, JOptionPane.showMessageDialog(this,
AppLocal.getIntString("message.databaseconnectsuccess"), AppLocal.getIntString("message.databaseconnectsuccess"),
"Connection Test" "Connection Test", JOptionPane.INFORMATION_MESSAGE);
, JOptionPane.INFORMATION_MESSAGE);
} else { } else {
reset(); reset();
@@ -2823,17 +2907,15 @@ public final class Transfer extends JPanel implements JPanelView {
new MessageInf(MessageInf.SGN_WARNING, "Unknown exception", e)); new MessageInf(MessageInf.SGN_WARNING, "Unknown exception", e));
} }
} else { } else {
JOptionPane.showMessageDialog(this JOptionPane.showMessageDialog(this, AppLocal.getIntString("message.transfercheck"),
, AppLocal.getIntString("message.transfercheck") AppLocal.getIntString("message.transfertitle"), JOptionPane.WARNING_MESSAGE);
, AppLocal.getIntString("message.transfertitle")
, JOptionPane.WARNING_MESSAGE);
jtxtDbName.setText(""); jtxtDbName.setText("");
} }
}//GEN-LAST:event_jbtnConnectjButtonTestConnectionActionPerformed }// GEN-LAST:event_jbtnConnectjButtonTestConnectionActionPerformed
private void cbSourceActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbSourceActionPerformed private void cbSourceActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_cbSourceActionPerformed
reset(); reset();
@@ -2841,23 +2923,19 @@ public final class Transfer extends JPanel implements JPanelView {
dirname = dirname == null ? "./" : dirname; dirname = dirname == null ? "./" : dirname;
if ("Derby".equals(cbSource.getSelectedItem())) { if ("Derby".equals(cbSource.getSelectedItem())) {
jtxtDbDriverLib.setText(new File(new File(dirname) jtxtDbDriverLib.setText(new File(new File(dirname), "/lib/derby-10.10.2.0.jar").getAbsolutePath());
, "/lib/derby-10.10.2.0.jar").getAbsolutePath());
jtxtDbDriver.setText("org.apache.derby.jdbc.EmbeddedDriver"); jtxtDbDriver.setText("org.apache.derby.jdbc.EmbeddedDriver");
jtxtDbType.setText("jdbc:derby:"); jtxtDbType.setText("jdbc:derby:");
jtxtDbServerPort.setText("" + new File(new File(System.getProperty("user.home")) jtxtDbServerPort.setText("" + new File(new File(System.getProperty("user.home")), ""));
, ""));
jtxtDbParams.setText(""); jtxtDbParams.setText("");
} else if ("PostgreSQL".equals(cbSource.getSelectedItem())) { } else if ("PostgreSQL".equals(cbSource.getSelectedItem())) {
jtxtDbDriverLib.setText(new File(new File(dirname) jtxtDbDriverLib.setText(new File(new File(dirname), "/lib/postgresql-9.4-1208.jdbc4.jar").getAbsolutePath());
, "/lib/postgresql-9.4-1208.jdbc4.jar").getAbsolutePath());
jtxtDbDriver.setText("org.postgresql.Driver"); jtxtDbDriver.setText("org.postgresql.Driver");
jtxtDbType.setText("jdbc:postgresql://"); jtxtDbType.setText("jdbc:postgresql://");
jtxtDbServerPort.setText("localhost:5432/"); jtxtDbServerPort.setText("localhost:5432/");
jtxtDbParams.setText(""); jtxtDbParams.setText("");
} else { } else {
jtxtDbDriverLib.setText(new File(new File(dirname) jtxtDbDriverLib.setText(new File(new File(dirname), "/lib/mysql-connector-java-5.1.39.jar").getAbsolutePath());
, "/lib/mysql-connector-java-5.1.39.jar").getAbsolutePath());
jtxtDbDriver.setText("com.mysql.jdbc.Driver"); jtxtDbDriver.setText("com.mysql.jdbc.Driver");
jtxtDbType.setText("jdbc:mysql://"); jtxtDbType.setText("jdbc:mysql://");
jtxtDbServerPort.setText("localhost:3306/"); jtxtDbServerPort.setText("localhost:3306/");
@@ -2868,9 +2946,9 @@ public final class Transfer extends JPanel implements JPanelView {
txtDbPass.setText(""); txtDbPass.setText("");
jlblVersion.setText(""); jlblVersion.setText("");
jlblDBSize.setText(""); jlblDBSize.setText("");
}//GEN-LAST:event_cbSourceActionPerformed }// GEN-LAST:event_cbSourceActionPerformed
private void jbtnSetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnSetActionPerformed private void jbtnSetActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jbtnSetActionPerformed
String driverlib; String driverlib;
String driver; String driver;
String url; String url;
@@ -2897,13 +2975,12 @@ public final class Transfer extends JPanel implements JPanelView {
password = new String(txtDbPass.getPassword()); password = new String(txtDbPass.getPassword());
try { try {
ClassLoader cloader = new URLClassLoader(new URL[]{ ClassLoader cloader = new URLClassLoader(new URL[] {
new File(driverlib).toURI().toURL() new File(driverlib).toURI().toURL()
}); });
DriverManager.registerDriver( DriverManager.registerDriver(
new DriverWrapper((Driver) new DriverWrapper((Driver) Class.forName(driver, true, cloader).newInstance()));
Class.forName(driver, true, cloader).newInstance()));
Session session_source1 = new Session(url, user, password); Session session_source1 = new Session(url, user, password);
Connection connection = session_source1.getConnection(); Connection connection = session_source1.getConnection();
@@ -2967,13 +3044,13 @@ public final class Transfer extends JPanel implements JPanelView {
JMessageDialog.showMessage(this, JMessageDialog.showMessage(this,
new MessageInf(MessageInf.SGN_WARNING, "Unknown exception", e)); new MessageInf(MessageInf.SGN_WARNING, "Unknown exception", e));
} }
}//GEN-LAST:event_jbtnSetActionPerformed }// GEN-LAST:event_jbtnSetActionPerformed
private void jbtnReset1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnReset1ActionPerformed private void jbtnReset1ActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jbtnReset1ActionPerformed
reset(); reset();
deactivate(); deactivate();
}//GEN-LAST:event_jbtnReset1ActionPerformed }// GEN-LAST:event_jbtnReset1ActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables // Variables declaration - do not modify//GEN-BEGIN:variables
private com.alee.laf.combobox.WebComboBox cbSource; private com.alee.laf.combobox.WebComboBox cbSource;
@@ -205,6 +205,7 @@ CREATE TABLE people (
id varchar(255) NOT NULL, id varchar(255) NOT NULL,
name varchar(255) NOT NULL, name varchar(255) NOT NULL,
apppassword varchar(255) default NULL, apppassword varchar(255) default NULL,
taxId varchar(255) default NULL,
card varchar(255) default NULL, card varchar(255) default NULL,
role varchar(255) NOT NULL, role varchar(255) NOT NULL,
visible smallint NOT NULL, visible smallint NOT NULL,
@@ -1 +1,3 @@
ALTER TABLE people ADD COLUMN IF NOT EXISTS taxId VARCHAR(255) AFTER apppassword;
--ALTER TABLE people ADD COLUMN taxId VARCHAR(100);
UPDATE applications SET version = $APP_VERSION{} WHERE id = $APP_ID{}; UPDATE applications SET version = $APP_VERSION{} WHERE id = $APP_ID{};
@@ -271,6 +271,7 @@ CREATE TABLE `people` (
`id` varchar(255) NOT NULL, `id` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL, `name` varchar(255) NOT NULL,
`apppassword` varchar(255) default NULL, `apppassword` varchar(255) default NULL,
`taxId` varchar(255) default NULL,
`card` varchar(255) default NULL, `card` varchar(255) default NULL,
`role` varchar(255) NOT NULL, `role` varchar(255) NOT NULL,
`visible` bit(1) NOT NULL, `visible` bit(1) NOT NULL,
@@ -1,2 +1,3 @@
ALTER TABLE people ADD COLUMN IF NOT EXISTS taxId VARCHAR(255) AFTER apppassword;
UPDATE applications SET version = $APP_VERSION{} WHERE id = $APP_ID{}; UPDATE applications SET version = $APP_VERSION{} WHERE id = $APP_ID{};
COMMIT; COMMIT;
@@ -246,6 +246,7 @@ CREATE TABLE `people` (
`id` varchar(255) NOT NULL, `id` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL, `name` varchar(255) NOT NULL,
`apppassword` varchar(255) default NULL, `apppassword` varchar(255) default NULL,
`taxId` varchar(255) default NULL,
`card` varchar(255) default NULL, `card` varchar(255) default NULL,
`role` varchar(255) NOT NULL, `role` varchar(255) NOT NULL,
`visible` bit(1) NOT NULL, `visible` bit(1) NOT NULL,
@@ -1,62 +1,3 @@
-- CLEAR THE DECKS ALTER TABLE people ADD COLUMN IF NOT EXISTS taxId VARCHAR(255) AFTER apppassword;
DELETE FROM sharedtickets; UPDATE applications SET version = $APP_VERSION{} WHERE id = $APP_ID{};
-- Switch OFF table foreign key relationships
set foreign_key_checks = 0;
-- RECREATE applications table
DROP TABLE `applications`;
CREATE TABLE IF NOT EXISTS `applications` (
`id` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`version` varchar(255) NOT NULL,
`instdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY ( `id` )
) ENGINE = InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT = Compact;
-- SYSTEM
DELETE FROM resources WHERE name = 'script.posapps';
DELETE FROM resources WHERE id = '0';
DELETE FROM resources WHERE id = '00';
INSERT INTO resources(id, name, restype, content) VALUES('00', 'Menu.Root', 0, $FILE{/com/unicenta/pos/templates/Menu.Root.txt});
UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/Ticket.Buttons.xml} WHERE name = 'Ticket.Buttons';
COMMIT;
UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/Printer.Ticket.xml} WHERE name = 'Printer.Ticket';
COMMIT;
UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/Ticket.Close.xml} WHERE name = 'Ticket.Close';
COMMIT;
UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/Cash.Close.xml} WHERE name = 'Cash.Close';
COMMIT;
UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/customer.created.xml} WHERE name = 'Customer.Created';
COMMIT;
UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/customer.deleted.xml} WHERE name = 'Customer.Deleted';
COMMIT;
UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/customer.updated.xml} WHERE name = 'Customer.Updated';
COMMIT;
-- ROLES
DELETE FROM roles WHERE id = '0';
INSERT INTO roles(id, name, permissions) VALUES('0', 'Administrator role', $FILE{/com/unicenta/pos/templates/Role.Administrator.xml} );
DELETE FROM roles WHERE id = '1';
INSERT INTO roles(id, name, permissions) VALUES('1', 'Manager role', $FILE{/com/unicenta/pos/templates/Role.Manager.xml} );
DELETE FROM roles WHERE id = '2';
INSERT INTO roles(id, name, permissions) VALUES('2', 'Employee role', $FILE{/com/unicenta/pos/templates/Role.Employee.xml} );
-- Switch ON table foreign key relationships
set foreign_key_checks = 1;
INSERT INTO applications(id, name, version) VALUES($APP_ID{}, $APP_NAME{}, '5.3.1');
COMMIT; COMMIT;
@@ -1207,3 +1207,4 @@ tooltip.config.db.databaseset1=<html><center>Set the optional secondary DB 2 dat
tooltip.config.db.reset=<html><center>Clear the settings of the main DB 1 Database Server tooltip.config.db.reset=<html><center>Clear the settings of the main DB 1 Database Server
tooltip.config.db.reset1=<html><center>Clear the settings of the optional DB 2 Database Server\t tooltip.config.db.reset1=<html><center>Clear the settings of the optional DB 2 Database Server\t
label.pickupcurrent=Current Pickup Number label.pickupcurrent=Current Pickup Number
label.peopletaxid=Tax ID
@@ -662,3 +662,4 @@ transpayment.slip=Slip
transpayment.voucherin=Note Input transpayment.voucherin=Note Input
transpayment.voucherout=Note Output transpayment.voucherout=Note Output
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
label.peopletaxid=Tax ID
@@ -542,3 +542,4 @@ label.department=\u0642\u0633\u0645\u060c \u0623\u0642\u0633\u0627\u0645
message.resetpickup=\u0647\u0644 \u062a\u0631\u064a\u062f \u062d\u0642\u0627 \u0623\u0646 \u0625\u0639\u0627\u062f\u0629 \u062a\u0631\u062a\u064a\u0628 \u0639\u062f\u062f \u0628\u064a\u0643 \u0623\u0628 0\u061f message.resetpickup=\u0647\u0644 \u062a\u0631\u064a\u062f \u062d\u0642\u0627 \u0623\u0646 \u0625\u0639\u0627\u062f\u0629 \u062a\u0631\u062a\u064a\u0628 \u0639\u062f\u062f \u0628\u064a\u0643 \u0623\u0628 0\u061f
label.currentstock=\u0645\u062a\u0627\u062d label.currentstock=\u0645\u062a\u0627\u062d
Menu.CSVStockQty=<html>Products<br><b>Scanner Import Menu.CSVStockQty=<html>Products<br><b>Scanner Import
label.peopletaxid=Tax ID
@@ -1008,3 +1008,4 @@ transpayment.ccardrefund=Kort tilbagef\u00f8rsel
transpayment.ticket=Salgskvittering transpayment.ticket=Salgskvittering
transpayment.voucher=Gavekort transpayment.voucher=Gavekort
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
label.peopletaxid=Tax ID
@@ -902,3 +902,4 @@ transpayment.voucher=Gutschein
transpayment.voucherin=Gutschein Eingabe transpayment.voucherin=Gutschein Eingabe
transpayment.voucherout=Gutschein Ausgabe transpayment.voucherout=Gutschein Ausgabe
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
label.peopletaxid=Tax ID
@@ -548,3 +548,4 @@ transpayment.ticket=\u0391\u03c0\u03cc\u03b4\u03b5\u03b9\u03be\u03b7
transpayment.voucherin=\u039a\u03bf\u03c5\u03c0\u03cc\u03bd\u03b9 transpayment.voucherin=\u039a\u03bf\u03c5\u03c0\u03cc\u03bd\u03b9
transpayment.voucherout=\u039a\u03bf\u03c5\u03c0\u03cc\u03bd\u03b9 transpayment.voucherout=\u039a\u03bf\u03c5\u03c0\u03cc\u03bd\u03b9
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
label.peopletaxid=Tax ID
@@ -1116,3 +1116,4 @@ label.override=Use Override?
title.override.enterpin=Enter PIN Number title.override.enterpin=Enter PIN Number
message.override.badpin=<html><center><h4>PIN Number Incorrect message.override.badpin=<html><center><h4>PIN Number Incorrect
Menu.CustomersExport=Customer Export Menu.CustomersExport=Customer Export
label.peopletaxid=Tax ID
@@ -1188,3 +1188,4 @@ message.eolupdate=<html><center><h3>uniCenta oPOS Versi\u00f3n {0} detectada!</h
label.find=Buscar label.find=Buscar
label.create=Crear label.create=Crear
label.cancel=Cancelar label.cancel=Cancelar
label.peopletaxid=ID de impuesto
@@ -484,3 +484,4 @@ transpayment.ccardrefund=Devoluci\u00f3n con tarjeta
transpayment.voucherin=Vales cobrados transpayment.voucherin=Vales cobrados
transpayment.voucherout=Vales emitidos transpayment.voucherout=Vales emitidos
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
label.peopletaxid=Tax ID
@@ -469,3 +469,5 @@ transpayment.voucherin=Vales cobrados
transpayment.voucherout=Vales emitidos transpayment.voucherout=Vales emitidos
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
message.eolupdate=<html><center><h3>uniCenta oPOS Versi\u00f3n {0} detectada!</h3><h4>\u00a1Las actualizaciones de la versi\u00f3n est\u00e1n cambiando!</h4> Si su versi\u00f3n es 5.3 o posterior, elija <b>S\u00cd</b> para continuar.<br/><br/> Para versiones anteriores, haga clic en <b>NO</b> para abrir Opciones de configuraci\u00f3n ahora.<br/></br>Lea la Gu\u00eda de transferencia de datos de uniCenta oPOS message.eolupdate=<html><center><h3>uniCenta oPOS Versi\u00f3n {0} detectada!</h3><h4>\u00a1Las actualizaciones de la versi\u00f3n est\u00e1n cambiando!</h4> Si su versi\u00f3n es 5.3 o posterior, elija <b>S\u00cd</b> para continuar.<br/><br/> Para versiones anteriores, haga clic en <b>NO</b> para abrir Opciones de configuraci\u00f3n ahora.<br/></br>Lea la Gu\u00eda de transferencia de datos de uniCenta oPOS
label.peopletaxid=Identificador de taxi
@@ -502,3 +502,4 @@ transpayment.ccardrefund=Kaardimakse tagastus
transpayment.voucherin=Kupongimakse transpayment.voucherin=Kupongimakse
transpayment.voucherout=Kupong v\u00e4lja transpayment.voucherout=Kupong v\u00e4lja
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
label.peopletaxid=Tax ID
@@ -1083,3 +1083,4 @@ label.add=Ajouter
label.cancel=Annuler label.cancel=Annuler
label.create=Cr\u00e9er label.create=Cr\u00e9er
label.find=Trouver label.find=Trouver
label.peopletaxid=Tax ID
@@ -482,3 +482,4 @@ transpayment.ccardrefund=Povrat kartice
transpayment.voucherin=Bilje\u0161ka - ulaz transpayment.voucherin=Bilje\u0161ka - ulaz
transpayment.voucherout=Bilje\u0161ka - izlaz transpayment.voucherout=Bilje\u0161ka - izlaz
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
label.peopletaxid=Tax ID
@@ -753,3 +753,4 @@ transpayment.ticket=Fattura
transpayment.voucherin=Nota Ingresso transpayment.voucherin=Nota Ingresso
transpayment.voucherout=Nota Uscita transpayment.voucherout=Nota Uscita
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
label.peopletaxid=Tax ID
@@ -1175,3 +1175,4 @@ button.setTransfer=SET
message.transfersamedatabase=<html><center><h4>Not able to transfer database into itself message.transfersamedatabase=<html><center><h4>Not able to transfer database into itself
label.configURL=Click this link to see how to create a Database Schema label.configURL=Click this link to see how to create a Database Schema
tooltip.pickupbarcode=Find Pickup ID tooltip.pickupbarcode=Find Pickup ID
label.peopletaxid=Tax ID
@@ -462,3 +462,4 @@ transpayment.ticket=Recibo
transpayment.voucherin=Entrada de nota transpayment.voucherin=Entrada de nota
transpayment.voucherout=Sa\u00edda de nota transpayment.voucherout=Sa\u00edda de nota
Visor.Title=uniCenta oPOS Visor.Title=uniCenta oPOS
label.peopletaxid=Tax ID
@@ -404,3 +404,4 @@ transpayment.ticket=Cupom
transpayment.voucherin=Nota entrada transpayment.voucherin=Nota entrada
transpayment.voucherout=Nota sa\u00edda transpayment.voucherout=Nota sa\u00edda
Visor.Title=uniCenta POS Visor.Title=uniCenta POS
label.peopletaxid=Tax ID