Skip to content

Commit f95293a

Browse files
committed
Gui fixes
1 parent 1c4909b commit f95293a

File tree

11 files changed

+138
-4
lines changed

11 files changed

+138
-4
lines changed

c4j_commander4j/commander4j.jar

1.99 KB
Binary file not shown.
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
DEFINE BARCODE BARCODE1 02<PADLEFT(<*EAN*>,14,0)>10<SUBSTRING(<*BATCH_NUMBER*>,1,4)>^90<*PART_NO*>^17<EXPIRYDATE(yy)><EXPIRYDATE(MM)><EXPIRYDATE(dd)>37<*QUANTITY^0000*>
2+
3+
DEFINE BARCODE BARCODE2 00<*SSCC*>
4+
DEFINE BARCODE FNC1 >8
5+
DEFINE BARCODE CODEA >9
6+
DEFINE BARCODE CODEB >6
7+
DEFINE BARCODE CODEC >;
8+
DEFINE BARCODE END *END*
9+
10+
/* Label initialisation /*
11+
12+
^XA^LT0040^XZ^XA
13+
^PW1200
14+
/* =====================================LABEL 1=========================================================================== */
15+
16+
/* Horizontal Bar and Sight Lines */
17+
18+
^FO567,0107^GB0,400,6^FS
19+
20+
^FO17,0087^GB0,53,6^FS
21+
^FO1180,0087^GB0,53,6^FS
22+
^FO37,0107^GB1127,0,6^FS
23+
24+
/* Heading for Label 1 */
25+
26+
^FO40,0002^A0N,80,73^CI27^FH^FD<*CUSTOMER_NAME*>^FS
27+
^FO53,0133^A0N,33,33^CI27^FDITEM NUMBER^FS
28+
^FO53,0173^A0N,67,67^CI27^FD<*PART_NO*>^FS
29+
30+
/* Printed by xxxxxxxxxxxxxxxx * /
31+
32+
^FO1000,0065^A0N,20,20^CI27^FDCommander4j <VERSION()>^FS
33+
34+
/* Product Code */
35+
36+
^FO620,0133^A0N,33,33^CI27^FDCODIGO PRODUCTO^FS
37+
^FO620,0173^A0N,67,67^CI27^FD<*MATERIAL*>^FS
38+
39+
/* EAN 13 PRODUCT BARCODE */
40+
41+
^FO950,0133^A0N,33,33^CI27^FDORDER^FS
42+
^FO950,0173^A0N,67,67^CI27^FD<*PROCESS_ORDER*>^FS
43+
44+
/* GTIN and Variant */
45+
46+
^FO53,0253^A0N,33,33^CI27^FDCONTENT^FS
47+
^FO53,0293^A0N,67,67^CI27^FD<PADLEFT(<*EAN*>,14,0)>^FS
48+
49+
/* Quantity */
50+
51+
^FO620,0253^A0N,33,33^CI27^FDCANTIDAD^FS
52+
^FO620,0293^A0N,67,67^CI27^FD<*QUANTITY^0000*>^FS
53+
54+
/* Batch Number */
55+
56+
^FO53,380^A0N,33,33^CI27^FDNUMERO LOTE^FS
57+
^FO53,420^A0N,67,67^CI27^FD<SUBSTRING(<*BATCH_NUMBER*>,1,4)>^FS
58+
59+
/* Expiry Date */
60+
61+
^FO620,380^A0N,33,33^CI27^FDFECHA CADUCIDAD^FS
62+
^FO620,420^A0N,67,67^CI27^FD<EXPIRYDATE(MM yyyy)>^FS
63+
64+
/* Horizontal Bar and Sight Lines */
65+
66+
^FO17,0487^GB0,53,6^FS
67+
^FO1180,0487^GB0,53,6^FS
68+
^FO37,0507^GB1127,0,6^FS
69+
70+
/* Product Description */
71+
72+
^FO53,553^A0N,33,33^CI27^FDDESCRIPCION^FS
73+
^FO053,593^A0N,67,50^CI27^FH^FD<*DESCRIPTION*>^FS
74+
75+
/* Pallet Number SSCC */
76+
77+
^FO53,680^A0N,33,33^CI27^FDSSCC^FS
78+
^FO053,720^A0N,100,107^CI27^FD<SUBSTRING(<*SSCC*>,1,3)>^FS
79+
^FO260,720^A0N,100,107^CI27^FD<SUBSTRING(<*SSCC*>,4,5)>^FS
80+
^FO567,720^A0N,100,107^CI27^FD<SUBSTRING(<*SSCC*>,9,5)>^FS
81+
^FO867,720^A0N,100,107^CI27^FD<SUBSTRING(<*SSCC*>,14,5)>^FS
82+
83+
/* Horizontal Bar and Sight Lines */
84+
85+
^FO17,833^GB0,53,6^FS
86+
^FO1180,833^GB0,53,6^FS
87+
^FO37,853^GB1127,0,6^FS
88+
89+
/* Top Barcode */
90+
91+
^BY3,3.0^FO0107,889^BCN,300,N,N,Y,N^FR^FD<*BARCODE1*>^FS
92+
^FO137,1197^A0N,37,35^CI27^FR^FD(02)<PADLEFT(<*EAN*>,14,0)>(10)<SUBSTRING(<*BATCH_NUMBER*>,1,4)>(90)<*PART_NO*>(17)<EXPIRYDATE(yy)><EXPIRYDATE(MM)>00(37)<*QUANTITY^0000*>^FS
93+
94+
/* Bottom Barcode */
95+
96+
^BY6,2.0^FO107,1260^BCN,300,N,N,Y,N^FR^FD<*BARCODE2*>^FS
97+
^FO450,1569^A0N,37,35^CI27^FR^FD(00)<*SSCC*>^FS
98+
99+
/* Horizontal Bar and Sight Lines */
100+
101+
^FO17,1613^GB0,53,6^FS
102+
^FO1180,1613^GB0,53,6^FS
103+
^FO37,1633^GB1127,0,6^FS
104+
105+
106+
^XZ
107+
108+
/* End of Label */

c4j_commander4j/src/com/commander4j/app/JInternalFrameProcessOrderProperties.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
import javax.swing.event.ChangeEvent;
5050
import javax.swing.event.ChangeListener;
5151

52+
import com.commander4j.calendar.JCalendarButton;
5253
import com.commander4j.db.JDBControl;
5354
import com.commander4j.db.JDBCustomer;
5455
import com.commander4j.db.JDBLanguage;
@@ -82,6 +83,7 @@
8283
* @see com.commander4j.app.JInternalFrameProcessOrderLabel JInternalFrameProcessOrderLabel
8384
*/
8485
public class JInternalFrameProcessOrderProperties extends JInternalFrame {
86+
private JCalendarButton calendarButtonDueDate;
8587
private JTextField4j jTextFieldMaterialDescription;
8688
private JLabel4j_std jLabelMaterialDesc;
8789
private JLabel4j_std jLabelQuantity;
@@ -403,6 +405,23 @@ public void keyTyped(KeyEvent evt)
403405
});
404406
jDesktopPane1.add(jTextFieldInspectionID);
405407
}
408+
JButton4j btnInspectionIDLookup = new JButton4j();
409+
btnInspectionIDLookup.addActionListener(new ActionListener()
410+
{
411+
public void actionPerformed(ActionEvent arg0)
412+
{
413+
JLaunchLookup.dlgAutoExec = true;
414+
JLaunchLookup.dlgCriteriaDefault = "";
415+
if (JLaunchLookup.qmInspections())
416+
{
417+
JLaunchLookup.dlgCriteriaDefault = "";
418+
jTextFieldInspectionID.setText(JLaunchLookup.dlgResult);
419+
}
420+
}
421+
});
422+
btnInspectionIDLookup.setIcon(Common.icon_lookup_16x16);
423+
btnInspectionIDLookup.setBounds(292, 417, 21, 22);
424+
jDesktopPane1.add(btnInspectionIDLookup);
406425
{
407426
jLabelDueDate = new JLabel4j_std();
408427
jDesktopPane1.add(jLabelDueDate);
@@ -432,6 +451,11 @@ public void stateChanged(final ChangeEvent e)
432451
}
433452
});
434453
}
454+
{
455+
calendarButtonDueDate = new JCalendarButton(jSpinnerDueDate);
456+
calendarButtonDueDate.setBounds(292, 225, 21, 21);
457+
jDesktopPane1.add(calendarButtonDueDate);
458+
}
435459
{
436460
jLabelLocation = new JLabel4j_std();
437461
jDesktopPane1.add(jLabelLocation);

c4j_commander4j/src/com/commander4j/app/JVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class JVersion
3131
{
3232

3333
public static String getProgramVersion() {
34-
return "12.00";
34+
return "12.02";
3535
}
3636

3737
public static Double getProgramVersionValue() {

c4j_commander4j/src/com/commander4j/cfg/JFrameHostAdmin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public class JFrameHostAdmin extends JFrame
155155
private JLabel4j_std jLabelDatabase = new JLabel4j_std();
156156
private JLabel4j_std jLabelDriver = new JLabel4j_std();
157157
private JTextArea4j jTextFieldConnect = new JTextArea4j();
158-
private JComboBox4j<String> jComboBoxjdbcDriver;
158+
private JComboBox4j<String> jComboBoxjdbcDriver = new JComboBox4j<String>();
159159
private JLabel4j_std jLabelDatabaseType = new JLabel4j_std();
160160
private JTextField4j jTextFieldDescription;
161161
private JButton4j jButtonSave = new JButton4j(Common.icon_update_16x16);;

c4j_commander4j/src/com/commander4j/sys/JInternalFrameAuditPermissionsAdmin.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ private void filterBy(String fieldname) {
178178

179179
if (fieldname.equals("Event Action") == true)
180180
{
181-
jComboBoxEventAction.setSelectedItem(jTable1.getValueAt(row, 4).toString());
181+
jComboBoxEventAction.setSelectedItem(jTable1.getValueAt(row, 5).toString());
182182
}
183183

184184
if (fieldname.equals("Target") == true)
185185
{
186-
jTextFieldTarget.setText(jTable1.getValueAt(row, 5).toString());
186+
jTextFieldTarget.setText(jTable1.getValueAt(row, 4).toString());
187187
}
188188

189189
if (fieldname.equals("Data") == true)
@@ -205,7 +205,9 @@ private void clearFilter() {
205205
jTextFieldUserID.setText("");
206206
jTextFieldData.setText("");
207207
jComboBoxEventAction.setSelectedItem("");
208+
jComboBoxEventType.setSelectedItem("");
208209
jTextFieldWorkstation.setText("");
210+
jTextFieldTarget.setText("");
209211
search();
210212
}
211213

1.99 KB
Binary file not shown.
754 Bytes
Binary file not shown.

c4j_web_WS/target/c4j_web_WS.war

0 Bytes
Binary file not shown.
1.99 KB
Binary file not shown.

0 commit comments

Comments
 (0)