Skip to content

Commit

Permalink
Version 10.18
Browse files Browse the repository at this point in the history
Mostly enhancements to Quality Control module
  • Loading branch information
C4J committed Oct 27, 2023
1 parent f4b3298 commit 5011dff
Show file tree
Hide file tree
Showing 57 changed files with 1,199 additions and 228 deletions.
4 changes: 2 additions & 2 deletions b6/commander4j.install4j
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<install4j version="10.0.6" transformSequenceNumber="10">
<directoryPresets config="./images/icons/CMD4j_Icons" />
<application name="Commander4j" applicationId="6923-0356-2321-8111" mediaDir="../../../Distribution/java17/b6Commander4j" shrinkRuntime="false" shortName="Commander4j" publisher="David Garratt" publisherWeb="http://www.commander4j.com" version="10.17" allPathsRelative="true" macVolumeId="2fff9a9d0dc659ac" javaMinVersion="17" javaMaxVersion="17">
<application name="Commander4j" applicationId="6923-0356-2321-8111" mediaDir="../../../Distribution/java17/b6Commander4j" shrinkRuntime="false" shortName="Commander4j" publisher="David Garratt" publisherWeb="http://www.commander4j.com" version="10.18" allPathsRelative="true" macVolumeId="2fff9a9d0dc659ac" javaMinVersion="17" javaMaxVersion="17">
<languages skipLanguageSelection="true">
<additionalLanguages>
<language id="nl" />
Expand All @@ -13,7 +13,7 @@
<language id="es" />
</additionalLanguages>
</languages>
<jreBundles jdkProviderId="Zulu" release="17/17.0.8.1" />
<jreBundles jdkProviderId="Zulu" release="17/17.0.9" />
</application>
<files keepModificationTimes="true" missingFilesStrategy="error" globalExcludeSuffixes="dirClean.ok,.DS_Store">
<mountPoints>
Expand Down
Binary file modified b6/commander4j.jar
Binary file not shown.
Binary file added b6/images/16x16/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added b6/images/24x24/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added b6/images/32x32/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion b6/javadoc.xml

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions b6/src/com/commander4j/app/JDialogQMDictionaryProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class JDialogQMDictionaryProperties extends javax.swing.JDialog {
private JComboBox4j<String> comboBoxSelectList;
private JComboBox4j<String> comboBoxDataType;
private JCheckBox4j chckbxVisible;
private JTextField4j textFieldUOM;
private JTextField4j textFieldDefaultValue;
private JSpinner spinnerWidth;
private String[] fieldAlignment = new String[] { "Left", "Right", "Center" };
private JComboBox4j<String> comboBoxAlignment;
Expand All @@ -113,16 +113,16 @@ private void save() {

if (dict.isValid(insp) == false) {
// dict.create(insp,description);
dict.create(insp, JLabel.TRAILING, comboBoxDataType.getSelectedItem().toString(), textFieldUOM.getText(),
"Y", description, visible, Integer.valueOf(spinnerWidth.getValue().toString()));
dict.create(insp, JLabel.TRAILING, comboBoxDataType.getSelectedItem().toString(), "","Y", description, visible, Integer.valueOf(spinnerWidth.getValue().toString()), textFieldDefaultValue.getText());
}

dict.setFieldAlignment(comboBoxAlignment.getSelectedItem().toString());
dict.setDescription(description);
dict.setDataType(comboBoxDataType.getSelectedItem().toString());
dict.setSelectListID(comboBoxSelectList.getSelectedItem().toString());
dict.setVisible(visible);
dict.setUOM(textFieldUOM.getText());
dict.setUOM("");
dict.setDefaultValue(textFieldDefaultValue.getText());
dict.setFieldWidth(Integer.valueOf(spinnerWidth.getValue().toString()));
dict.update();

Expand Down Expand Up @@ -270,22 +270,22 @@ public void actionPerformed(ActionEvent e) {
lblVisible.setBounds(8, 179, 92, 16);
desktopPane.add(lblVisible);

JLabel4j_std lblUOM = new JLabel4j_std(lang.get("lbl_Material_UOM"));
JLabel4j_std lblUOM = new JLabel4j_std(lang.get("lbl_default"));
lblUOM.setHorizontalAlignment(SwingConstants.TRAILING);
lblUOM.setBounds(8, 213, 92, 16);
desktopPane.add(lblUOM);

textFieldUOM = new JTextField4j(JDBQMDictionary.field_uom);
textFieldUOM.addKeyListener(new KeyAdapter() {
textFieldDefaultValue = new JTextField4j(JDBQMDictionary.field_uom);
textFieldDefaultValue.addKeyListener(new KeyAdapter() {
@Override
public void keyReleased(KeyEvent arg0) {
enableSave();
}
});
textFieldUOM.setText("");
textFieldUOM.setColumns(10);
textFieldUOM.setBounds(112, 206, 143, 28);
desktopPane.add(textFieldUOM);
textFieldDefaultValue.setText("");
textFieldDefaultValue.setColumns(10);
textFieldDefaultValue.setBounds(112, 206, 143, 28);
desktopPane.add(textFieldDefaultValue);

spinnerWidth = new JSpinner();

Expand Down Expand Up @@ -334,7 +334,7 @@ public void stateChanged(ChangeEvent e) {
else
chckbxVisible.setSelected(false);

textFieldUOM.setText(dict.getUOM());
textFieldDefaultValue.setText(dict.getDefaultValue());

spinnerWidth.setValue(dict.getFieldWidth());

Expand Down
Loading

0 comments on commit 5011dff

Please sign in to comment.