All done
This commit is contained in:
parent
1aec473459
commit
75e0098dc7
@ -1,4 +1,4 @@
|
|||||||
#Mon Jan 28 22:07:04 EST 2019
|
#Mon Jan 28 22:29:19 EST 2019
|
||||||
debug=false
|
debug=false
|
||||||
allow-publish=false
|
allow-publish=false
|
||||||
URL=screenprintingsuppliescanada.com
|
URL=screenprintingsuppliescanada.com
|
||||||
|
@ -541,46 +541,22 @@ class Frame extends JFrame {
|
|||||||
Frame.this.dtm.removeRow(i);
|
Frame.this.dtm.removeRow(i);
|
||||||
}
|
}
|
||||||
if (Frame.this.viewVendor.isSelected()) {
|
if (Frame.this.viewVendor.isSelected()) {
|
||||||
Main.vendors.keySet().stream().filter(key -> key.contains(searchBar.getText())).forEach(key -> Frame.this.dtm.addRow(((Vendor)Main.vendors.get(key)).toArray()));
|
Main.vendors.keySet().stream().filter(key -> key.toLowerCase().contains(searchBar.getText().toLowerCase())).forEach(key -> Frame.this.dtm.addRow(((Vendor)Main.vendors.get(key)).toArray()));
|
||||||
} else if (Frame.this.viewUserVendor.isSelected()) {
|
} else if (Frame.this.viewUserVendor.isSelected()) {
|
||||||
Main.vendors.keySet().stream().filter(key -> key.contains(searchBar.getText())).forEach(key -> Frame.this.dtm.addRow(((Vendor)Main.userVendors.get(key)).toArray()));
|
Main.vendors.keySet().stream().filter(key -> key.toLowerCase().contains(searchBar.getText().toLowerCase())).forEach(key -> Frame.this.dtm.addRow(((Vendor)Main.userVendors.get(key)).toArray()));
|
||||||
} else if (Frame.this.viewComponent.isSelected()) {
|
} else if (Frame.this.viewComponent.isSelected()) {
|
||||||
Main.vendors.keySet().stream().filter(key -> key.contains(searchBar.getText())).forEach(key -> Frame.this.dtm.addRow(((Component)Main.components.get(key)).toArray()));
|
Main.vendors.keySet().stream().filter(key -> key.toLowerCase().contains(searchBar.getText().toLowerCase())).forEach(key -> Frame.this.dtm.addRow(((Component)Main.components.get(key)).toArray()));
|
||||||
} else if (Frame.this.viewUserComponent.isSelected()) {
|
} else if (Frame.this.viewUserComponent.isSelected()) {
|
||||||
Main.vendors.keySet().stream().filter(key -> key.contains(searchBar.getText())).forEach(key -> Frame.this.dtm.addRow(((Component)Main.userComponents.get(key)).toArray()));
|
Main.vendors.keySet().stream().filter(key -> key.toLowerCase().contains(searchBar.getText().toLowerCase())).forEach(key -> Frame.this.dtm.addRow(((Component)Main.userComponents.get(key)).toArray()));
|
||||||
} else if (Frame.this.viewFormula.isSelected()) {
|
} else if (Frame.this.viewFormula.isSelected()) {
|
||||||
Main.vendors.keySet().stream().filter(key -> key.contains(searchBar.getText())).forEach(key -> Frame.this.dtm.addRow(((Formula)Main.formulas.get(key)).toArray()));
|
Main.vendors.keySet().stream().filter(key -> key.toLowerCase().contains(searchBar.getText().toLowerCase())).forEach(key -> Frame.this.dtm.addRow(((Formula)Main.formulas.get(key)).toArray()));
|
||||||
} else if (Frame.this.viewUserFormula.isSelected()) {
|
} else if (Frame.this.viewUserFormula.isSelected()) {
|
||||||
Main.vendors.keySet().stream().filter(key -> key.contains(searchBar.getText())).forEach(key -> Frame.this.dtm.addRow(((Formula)Main.userFormulas.get(key)).toArray()));
|
Main.vendors.keySet().stream().filter(key -> key.toLowerCase().contains(searchBar.getText().toLowerCase())).forEach(key -> Frame.this.dtm.addRow(((Formula)Main.userFormulas.get(key)).toArray()));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Frame.this.reloadView();
|
Frame.this.reloadView();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private /* synthetic */ boolean lambda$updated$10(JTextField searchBar2, String key) {
|
|
||||||
return key.toLowerCase().contains(searchBar2.getText());
|
|
||||||
}
|
|
||||||
|
|
||||||
private /* synthetic */ boolean lambda$updated$8(JTextField searchBar2, String key) {
|
|
||||||
return key.toLowerCase().contains(searchBar2.getText());
|
|
||||||
}
|
|
||||||
|
|
||||||
private /* synthetic */ boolean lambda$updated$6(JTextField searchBar2, String key) {
|
|
||||||
return key.toLowerCase().contains(searchBar2.getText());
|
|
||||||
}
|
|
||||||
|
|
||||||
private /* synthetic */ boolean lambda$updated$4(JTextField searchBar2, String key) {
|
|
||||||
return key.toLowerCase().contains(searchBar2.getText());
|
|
||||||
}
|
|
||||||
|
|
||||||
private /* synthetic */ boolean lambda$updated$2(JTextField searchBar2, String key) {
|
|
||||||
return key.toLowerCase().contains(searchBar2.getText());
|
|
||||||
}
|
|
||||||
|
|
||||||
private /* synthetic */ boolean lambda$updated$0(JTextField searchBar2, String key) {
|
|
||||||
return key.toLowerCase().contains(searchBar2.getText());
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
this.setVisible(true);
|
this.setVisible(true);
|
||||||
this.viewFormula.doClick();
|
this.viewFormula.doClick();
|
||||||
|
Loading…
Reference in New Issue
Block a user