From: Lennart P. <le...@us...> - 2005-03-01 14:27:03
|
Update of /cvsroot/redpos/RedPOS/src/org/redpos/client/ui/plugin/function In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2425/src/org/redpos/client/ui/plugin/function Modified Files: FindReceiptUI.java FindProductUI.java Log Message: Dispose of TableItems in FindProductUI, FindReceiptUI and POSSaleInfo Index: FindProductUI.java =================================================================== RCS file: /cvsroot/redpos/RedPOS/src/org/redpos/client/ui/plugin/function/FindProductUI.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** FindProductUI.java 19 Feb 2005 18:37:59 -0000 1.5 --- FindProductUI.java 1 Mar 2005 14:26:52 -0000 1.6 *************** *** 418,421 **** --- 418,426 ---- { productTable.removeAll(); + TableItem[] items = productTable.getItems(); + for(int i = 0; i < items.length; i++) + { + items[i].dispose(); + } } Index: FindReceiptUI.java =================================================================== RCS file: /cvsroot/redpos/RedPOS/src/org/redpos/client/ui/plugin/function/FindReceiptUI.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FindReceiptUI.java 17 Jan 2005 10:28:15 -0000 1.3 --- FindReceiptUI.java 1 Mar 2005 14:26:52 -0000 1.4 *************** *** 444,447 **** --- 444,452 ---- { receiptTable.removeAll(); + TableItem[] items = receiptTable.getItems(); + for(int i = 0; i < items.length; i++) + { + items[i].dispose(); + } } |