From 1647e6c9f4cb205f1052b94ad018cc3cceb18671 Mon Sep 17 00:00:00 2001 From: Daniel Cortes Date: Sat, 5 Jan 2019 16:04:30 -0300 Subject: [PATCH] Cambiados fields de efectivo por JFormattedtextfields y son formateados como numeros --- .idea/workspace.xml | 807 +++++++++++------- dist/caja.jar | Bin 11338324 -> 11340867 bytes dist/database.sqlite | Bin 32768 -> 32768 bytes .../xyz/controllers/ArqueoController.java | 58 +- src/danielcortes/xyz/views/ArqueoView.form | 36 +- src/danielcortes/xyz/views/ArqueoView.java | 108 ++- .../views/components/LimitDocumentFilter.java | 54 ++ .../views/components/NumberFormatFactory.java | 51 ++ 8 files changed, 699 insertions(+), 415 deletions(-) create mode 100644 src/danielcortes/xyz/views/components/LimitDocumentFilter.java create mode 100644 src/danielcortes/xyz/views/components/NumberFormatFactory.java diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f069337..863c43f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,62 +6,19 @@ - + - - - - + + + - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - @@ -117,12 +74,96 @@ - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -140,11 +181,6 @@ - addRow - set - print - " - fec System [2018] [Daniel Cortes] id @@ -170,6 +206,11 @@ editar toggleSortOrder Copyright (c) 2018 Daniel Cortes + JFormattedTextField(NumberFormat.getCurrencyInstance()) + NumberFormat.getCurrencyInstance(Locale.forLanguageTag("CL")) + new JFormattedTextField() + DosMil + document 2018 Daniel Cortes @@ -179,6 +220,8 @@ text integer primary key Copyright (c) 2018-2019 Daniel Cortes + JFormattedTextField(NumberFormat.getCurrencyInstance(Locale.forLanguageTag("CL"))) + new JFormattedTextField(formatter) $PROJECT_DIR$/src @@ -190,9 +233,6 @@ @@ -295,6 +338,8 @@ + + @@ -305,14 +350,40 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +