Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void ActualizarLabelVisor() {
- Set<String> res = new HashSet<String>(labelvisor);
- for (String y : res) {
- txta_detallepedido.setText(y + " : " + Collections.frequency(labelvisor, y));
- }
- }
- public String LlenarListaDetalle(String dato) {
- labelvisor.add(dato);
- return dato;
- }
- public String EliminarDatoDetalle(String z) {
- for (int i = 0; i < labelvisor.size(); i++) {
- if (labelvisor.get(i).equals(z)) {
- labelvisor.remove(i);
- break;
- }
- }
- return z;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement