a solution for jtextfield barcode entering
A product will be displayed and added to shopping cart if you scan a barcode. The old jtextfield must be cleared before scan a new barcode. It is hard to clear the jtextfield indeed, we have tried documentlistener, did not find a way. Finally, we found a solution - highlight the jtextfield so that it will be replaced by new barcode.
2012-06-27 17:14:46, views: 2767, Comments: 2