Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
Sample Label Printing
  • Loading branch information
C4J committed Jun 13, 2024
1 parent 8bee3af commit 8db1458
Show file tree
Hide file tree
Showing 14 changed files with 64 additions and 35 deletions.
Binary file modified b6/commander4j.jar
Binary file not shown.
44 changes: 23 additions & 21 deletions b6/src/com/commander4j/app/JInternalFrameQMSampleLabel.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private void printEnable()
Boolean ud2 = false;
Boolean ud3 = false;
Boolean ud4 = false;

if (processOrderValid == true)
{
if (listActivities.getSelectedIndex() != -1)
Expand Down Expand Up @@ -195,7 +195,7 @@ private void printEnable()
{
ud2 = true;
}

ud3 = false;
if (qmud3 == true)
{
Expand All @@ -208,8 +208,7 @@ private void printEnable()
{
ud3 = true;
}



ud4 = false;
if (qmud4 == true)
{
Expand All @@ -221,14 +220,13 @@ private void printEnable()
else
{
ud4 = true;
}
}

if (ud1 & ud2 & ud3 & ud4)
{
result = true;
}



}
}
btnPrint.setEnabled(result);
Expand Down Expand Up @@ -332,7 +330,7 @@ public void processOrderChanged(String processOrder)
{
textFieldUserData4.setText("");
}

matCustData.setMaterial(po.getMaterial());
matCustData.setCustomerID(po.getCustomerID());
matCustData.setDataID("PRODUCT_GROUP");
Expand Down Expand Up @@ -752,18 +750,24 @@ public void keyReleased(KeyEvent e)
desktopPane.add(lblStatusBar);

sampleDateTime = new JDateControl();
sampleDateTime.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
Date selected = sampleDateTime.getDate();
Date current = JUtility.getSQLDateTime();
if (selected.after(current))
sampleDateTime.addChangeListener(new ChangeListener()
{
public void stateChanged(ChangeEvent e)
{

if (chckbxAutoTime.isSelected() == false)
{
sampleDateTime.setDate(current);
Date selected = sampleDateTime.getDate();
Date current = JUtility.getSQLDateTime();
if (selected.after(current))
{
sampleDateTime.setDate(current);
}
}

}
});

sampleDateTime.setEnabled(false);
sampleDateTime.setBounds(417, 8, 128, 25);
desktopPane.add(sampleDateTime);
Expand Down Expand Up @@ -855,7 +859,7 @@ public void actionPerformed(ActionEvent e)
setDefaultDPI(pq);
}
});

{
jButtonLookup_Shift_Names = new JButton4j(Common.icon_lookup_16x16);
desktopPane.add(jButtonLookup_Shift_Names);
Expand All @@ -877,7 +881,7 @@ public void actionPerformed(ActionEvent evt)
}
});
}

{
jButtonLookup_Packing_Line = new JButton4j(Common.icon_lookup_16x16);
desktopPane.add(jButtonLookup_Packing_Line);
Expand Down Expand Up @@ -912,8 +916,6 @@ public void run()
}
});



timer.start();

}
Expand Down
Loading

0 comments on commit 8db1458

Please sign in to comment.