├── swing ├── .gitignore ├── javamoney-ez │ ├── common │ │ ├── .gitignore │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ └── org │ │ │ │ │ │ └── javamoney │ │ │ │ │ │ └── examples │ │ │ │ │ │ └── ez │ │ │ │ │ │ └── common │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ ├── net │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ └── ProxyConnectionTypeKeys.java │ │ │ │ │ │ ├── gui │ │ │ │ │ │ ├── table │ │ │ │ │ │ │ └── package.html │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ ├── CheckBox.java │ │ │ │ │ │ ├── RadioButton.java │ │ │ │ │ │ └── Frame.java │ │ │ │ │ │ ├── utility │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ └── LookAndFeelHelper.java │ │ │ │ │ │ ├── IconHolder.java │ │ │ │ │ │ └── CommonConstants.java │ │ │ │ └── resources │ │ │ │ │ └── org │ │ │ │ │ └── javamoney │ │ │ │ │ └── examples │ │ │ │ │ └── ez │ │ │ │ │ └── common │ │ │ │ │ ├── i18n │ │ │ │ │ ├── fin.properties │ │ │ │ │ ├── eng.properties │ │ │ │ │ ├── ita.properties │ │ │ │ │ ├── por.properties │ │ │ │ │ └── rus.properties │ │ │ │ │ └── resources │ │ │ │ │ ├── Search.png │ │ │ │ │ ├── DialogAccept.png │ │ │ │ │ ├── DialogCancel.png │ │ │ │ │ ├── SearchClear.png │ │ │ │ │ ├── SearchNoText.png │ │ │ │ │ ├── SortColumnUp.png │ │ │ │ │ ├── SearchWithMenu.png │ │ │ │ │ ├── SortColumnDown.png │ │ │ │ │ └── SearchClearPressed.png │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── javamoney │ │ │ │ └── examples │ │ │ │ └── ez │ │ │ │ └── common │ │ │ │ └── gui │ │ │ │ └── LinkTest.java │ │ └── pom.xml │ ├── money │ │ ├── src │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ └── org │ │ │ │ │ │ └── javamoney │ │ │ │ │ │ └── examples │ │ │ │ │ │ └── ez │ │ │ │ │ │ └── money │ │ │ │ │ │ ├── gui │ │ │ │ │ │ ├── table │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ ├── model │ │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ │ ├── AccountChooserModel.java │ │ │ │ │ │ │ │ ├── ReminderModel.java │ │ │ │ │ │ │ │ ├── SplitModel.java │ │ │ │ │ │ │ │ └── TransferTotalModel.java │ │ │ │ │ │ │ └── comparator │ │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ │ └── AccountChooserComparator.java │ │ │ │ │ │ ├── dialog │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ ├── preferences │ │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ │ ├── IncomePanel.java │ │ │ │ │ │ │ │ ├── ExpensesPanel.java │ │ │ │ │ │ │ │ └── GeneralOptionsPanel.java │ │ │ │ │ │ │ └── WebReportDialog.java │ │ │ │ │ │ ├── view │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ ├── home │ │ │ │ │ │ │ │ └── package.html │ │ │ │ │ │ │ ├── totals │ │ │ │ │ │ │ │ └── package.html │ │ │ │ │ │ │ ├── register │ │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ │ ├── FormFieldKeys.java │ │ │ │ │ │ │ │ ├── IncomeFactory.java │ │ │ │ │ │ │ │ └── ExpenseFactory.java │ │ │ │ │ │ │ ├── ViewKeys.java │ │ │ │ │ │ │ └── View.java │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ ├── chooser │ │ │ │ │ │ │ └── package.html │ │ │ │ │ │ └── GUIConstants.java │ │ │ │ │ │ ├── report │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ └── CategoryReportSortByKeys.java │ │ │ │ │ │ ├── utility │ │ │ │ │ │ └── package.html │ │ │ │ │ │ ├── locale │ │ │ │ │ │ └── package.html │ │ │ │ │ │ ├── model │ │ │ │ │ │ ├── dynamic │ │ │ │ │ │ │ ├── total │ │ │ │ │ │ │ │ └── package.html │ │ │ │ │ │ │ ├── transaction │ │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ │ └── TransactionFilterFieldKeys.java │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ └── SelectableElement.java │ │ │ │ │ │ ├── persisted │ │ │ │ │ │ │ ├── payee │ │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ │ ├── Payee.java │ │ │ │ │ │ │ │ └── PayeeCollection.java │ │ │ │ │ │ │ ├── account │ │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ │ └── AccountCollection.java │ │ │ │ │ │ │ ├── category │ │ │ │ │ │ │ │ └── package.html │ │ │ │ │ │ │ ├── reminder │ │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ │ └── ReminderCollection.java │ │ │ │ │ │ │ ├── transaction │ │ │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ │ │ └── TransactionSet.java │ │ │ │ │ │ │ └── package.html │ │ │ │ │ │ └── package.html │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ ├── exception │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ ├── DialogCanceledException.java │ │ │ │ │ │ └── NoAccountForImportException.java │ │ │ │ │ │ ├── importexport │ │ │ │ │ │ ├── package.html │ │ │ │ │ │ ├── ImportExportTypeKeys.java │ │ │ │ │ │ ├── ImportExportFormatKeys.java │ │ │ │ │ │ ├── OFXConstants.java │ │ │ │ │ │ └── CSVConstants.java │ │ │ │ │ │ └── FileKeys.java │ │ │ │ └── resources │ │ │ │ │ └── org │ │ │ │ │ └── javamoney │ │ │ │ │ └── examples │ │ │ │ │ └── ez │ │ │ │ │ └── money │ │ │ │ │ ├── resources │ │ │ │ │ ├── Date.png │ │ │ │ │ ├── Actions.png │ │ │ │ │ ├── ArrowUp.png │ │ │ │ │ ├── Filter.png │ │ │ │ │ ├── Warning.png │ │ │ │ │ ├── ArrowBack.png │ │ │ │ │ ├── ArrowDown.png │ │ │ │ │ ├── CheckBox.png │ │ │ │ │ ├── LabelBlue.png │ │ │ │ │ ├── LabelGray.png │ │ │ │ │ ├── LabelNone.png │ │ │ │ │ ├── LabelRed.png │ │ │ │ │ ├── MenuArrow.png │ │ │ │ │ ├── ViewsHome.png │ │ │ │ │ ├── ArrowForward.png │ │ │ │ │ ├── DialogExport.png │ │ │ │ │ ├── DialogFilter.png │ │ │ │ │ ├── DialogImport.png │ │ │ │ │ ├── DialogReport.png │ │ │ │ │ ├── DialogSplit.png │ │ │ │ │ ├── HomeSpacer.png │ │ │ │ │ ├── LabelGreen.png │ │ │ │ │ ├── LabelOrange.png │ │ │ │ │ ├── LabelPurple.png │ │ │ │ │ ├── LabelYellow.png │ │ │ │ │ ├── PieChartBlue.png │ │ │ │ │ ├── PieChartGray.png │ │ │ │ │ ├── PieChartRed.png │ │ │ │ │ ├── ViewsBudgets.png │ │ │ │ │ ├── ViewsTotals.png │ │ │ │ │ ├── WindowsLogo.png │ │ │ │ │ ├── WindowsLogo2.png │ │ │ │ │ ├── DialogPassword.png │ │ │ │ │ ├── FormNextCheck.png │ │ │ │ │ ├── HomeBackground.png │ │ │ │ │ ├── HomeTileHeader.png │ │ │ │ │ ├── HomeTileTypes.png │ │ │ │ │ ├── PieChartGreen.png │ │ │ │ │ ├── PieChartOrange.png │ │ │ │ │ ├── WindowsBanner.png │ │ │ │ │ ├── WindowsBanner2.jpg │ │ │ │ │ ├── WindowsBanner2.png │ │ │ │ │ ├── DialogUninstall.png │ │ │ │ │ ├── HomeTileSummary.png │ │ │ │ │ ├── PieChartRedLegend.png │ │ │ │ │ ├── PreferencesPayees.png │ │ │ │ │ ├── TableReconciled.png │ │ │ │ │ ├── DialogReminderAlarm.png │ │ │ │ │ ├── PieChartBlueLegend.png │ │ │ │ │ ├── PieChartGrayLegend.png │ │ │ │ │ ├── PieChartGreenLegend.png │ │ │ │ │ ├── PreferencesAccounts.png │ │ │ │ │ ├── PreferencesGeneral.png │ │ │ │ │ ├── PreferencesNetwork.png │ │ │ │ │ ├── DialogEditTransactions.png │ │ │ │ │ ├── PieChartOrangeLegend.png │ │ │ │ │ ├── PreferencesCategories.png │ │ │ │ │ └── PreferencesReminders.png │ │ │ │ │ └── i18n │ │ │ │ │ ├── fin.properties │ │ │ │ │ ├── ita.properties │ │ │ │ │ └── por.properties │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── javamoney │ │ │ │ └── examples │ │ │ │ └── ez │ │ │ │ └── money │ │ │ │ └── model │ │ │ │ └── DataElementTest.java │ │ └── pom.xml │ ├── README.md │ └── pom.xml └── README.md ├── web ├── .gitignore ├── README.md ├── jsf-money │ ├── .gitignore │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── WEB-INF │ │ │ │ ├── beans.xml │ │ │ │ └── web.xml │ │ │ ├── index.html │ │ │ └── index.xhtml │ │ │ └── java │ │ │ └── javamoneyexamples │ │ │ └── jsf │ │ │ └── money │ │ │ ├── exchange │ │ │ ├── ExchangeRateProducer.java │ │ │ └── ExchangeType.java │ │ │ ├── converter │ │ │ ├── MonetaryAmountConverter.java │ │ │ ├── DefaultMonetaryAmountConverter.java │ │ │ └── OutMonetaryAmountConverter.java │ │ │ ├── model │ │ │ ├── Product.java │ │ │ └── ExchangeBean.java │ │ │ └── controller │ │ │ ├── ProductMB.java │ │ │ └── ExchangeMB.java │ └── README.md ├── jax-rs-money │ ├── WebContent │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ └── WEB-INF │ │ │ └── beans.xml │ ├── web.xml │ └── src │ │ └── main │ │ ├── webapp │ │ └── index.html │ │ └── java │ │ └── org │ │ └── javamoney │ │ └── examples │ │ └── jaxrs │ │ ├── infrastructure │ │ ├── ApplicationConfig.java │ │ ├── store │ │ │ ├── ProductJson.java │ │ │ ├── ProductReaderProvider.java │ │ │ └── ProductWriterProvider.java │ │ ├── bank │ │ │ ├── HistoryBankAccountJS.java │ │ │ ├── BankAccountReaderProvider.java │ │ │ ├── BankAccountJS.java │ │ │ └── BankAccountWriterProvider.java │ │ ├── MonetaryAmountReaderProvider.java │ │ └── MonetaryAmountWriterProvider.java │ │ ├── currency │ │ ├── Europe.java │ │ ├── Argentina.java │ │ ├── Brazil.java │ │ ├── America.java │ │ └── CurrenciesFactory.java │ │ ├── bank │ │ ├── HistoryBankAccount.java │ │ └── FinancialActions.java │ │ ├── model │ │ ├── BankAccount.java │ │ └── Product.java │ │ ├── resources │ │ ├── store │ │ │ ├── Mock.java │ │ │ ├── BrazilStoreCommerce.java │ │ │ ├── EuropeStoreCommerce.java │ │ │ ├── AmericaStoreCommerce.java │ │ │ ├── AgentinaStoreCommerce.java │ │ │ └── Store.java │ │ └── bank │ │ │ └── InternetBanking.java │ │ └── ecommerce │ │ └── EcommerceFactory.java ├── javamoney-payment-cdi-event │ ├── .gitignore │ └── src │ │ └── main │ │ ├── webapp │ │ ├── resources │ │ │ ├── gfx │ │ │ │ ├── banner.png │ │ │ │ ├── triplebrand_jcpwildflyjakartaee.png │ │ │ │ └── triplebrand_jcpwildflyjakartaee.xcf │ │ │ └── css │ │ │ │ └── screen.css │ │ ├── index.html │ │ └── WEB-INF │ │ │ ├── beans.xml │ │ │ └── faces-config.xml │ │ └── java │ │ └── org │ │ └── javamoney │ │ └── examples │ │ └── cdi │ │ └── payment │ │ ├── handler │ │ ├── IDebitEventObserver.java │ │ └── ICreditEventObserver.java │ │ ├── qualifiers │ │ ├── Debit.java │ │ ├── Amount.java │ │ └── Credit.java │ │ └── resources │ │ └── Resources.java └── pom.xml ├── javafx ├── money-fxdemo │ ├── src │ │ ├── main │ │ │ ├── resources │ │ │ │ ├── i18n │ │ │ │ │ └── translation.properties │ │ │ │ ├── images │ │ │ │ │ ├── javamoney.png │ │ │ │ │ └── javamoney_s.png │ │ │ │ └── samples │ │ │ │ │ ├── ExchangeRates.javatxt │ │ │ │ │ ├── CurrencyConversion.javatxt │ │ │ │ │ ├── CreateAmounts.javatxt │ │ │ │ │ ├── Extensions.javatxt │ │ │ │ │ ├── AmountArithmetics.javatxt │ │ │ │ │ ├── FormattingAnAmount.javatxt │ │ │ │ │ └── CreateCurrencies.javatxt │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── javamoney │ │ │ │ └── examples │ │ │ │ └── fxdemo │ │ │ │ ├── widgets │ │ │ │ ├── RateTypeSelector.java │ │ │ │ ├── AbstractSingleSamplePane.java │ │ │ │ └── CurrencySelector.java │ │ │ │ └── core │ │ │ │ └── CreateAmountsSamplePane.fxml │ │ ├── test │ │ │ └── java │ │ │ │ └── do-not-delete-me.txt │ │ └── etc │ │ │ └── FXDemo-jar.jardesc │ ├── MANIFEST.MF │ ├── .gitignore │ ├── nbactions.xml │ ├── nb-configuration.xml │ └── pom.xml ├── .gitignore ├── README.md ├── money-javafx-binding │ ├── .gitignore │ └── src │ │ ├── main │ │ ├── deploy │ │ │ ├── icon.png │ │ │ └── splash.jpg │ │ ├── resources │ │ │ ├── images │ │ │ │ └── background.jpg │ │ │ ├── log4j.xml │ │ │ ├── styles │ │ │ │ └── styles.css │ │ │ └── fxml │ │ │ │ └── hello.fxml │ │ └── java │ │ │ └── org │ │ │ └── javamoney │ │ │ ├── jfx │ │ │ ├── value │ │ │ │ ├── package-info.java │ │ │ │ ├── WritableMonetaryValue.java │ │ │ │ └── ObservableMonetaryValue.java │ │ │ ├── property │ │ │ │ ├── package-info.java │ │ │ │ ├── ReadOnlyMonetaryProperty.java │ │ │ │ └── MonetaryProperty.java │ │ │ └── binding │ │ │ │ ├── MonetaryExpression.java │ │ │ │ └── MonetaryBinding.java │ │ │ └── examples │ │ │ └── javafx │ │ │ ├── Bill.java │ │ │ ├── BindingApp.java │ │ │ ├── Main.java │ │ │ └── BindingController.java │ │ └── test │ │ └── java │ │ └── org │ │ └── javamoney │ │ └── examples │ │ └── javafx │ │ └── BillTest.java └── src │ ├── site │ ├── resources │ │ └── images │ │ │ ├── NB7_JavaFX_2.png │ │ │ ├── NB7_JavaFX_3.png │ │ │ ├── Eclipse_JRE8_0.png │ │ │ ├── Eclipse_JRE8_1.png │ │ │ ├── Eclipse_JRE8_2.png │ │ │ └── Eclipse_JRE8_0_1.png │ └── site.xml │ └── etc │ └── javafx examples install.launch ├── console ├── .gitignore ├── javamoney-console-java11 │ ├── .gitignore │ ├── src │ │ └── main │ │ │ ├── resources │ │ │ └── javamoney.properties │ │ │ └── java │ │ │ ├── org │ │ │ └── javamoney │ │ │ │ └── examples │ │ │ │ └── console │ │ │ │ └── java11 │ │ │ │ ├── format │ │ │ │ └── FormattingAmountsBRL.java │ │ │ │ ├── functional │ │ │ │ ├── CreateCurrencyUnit.java │ │ │ │ └── CreateMonetaryCurrency.java │ │ │ │ └── convert │ │ │ │ └── BrokenECBCurrentRateProvider.java │ │ │ └── module-info.java │ └── pom.xml ├── javamoney-console-java8 │ ├── .gitignore │ ├── src │ │ └── main │ │ │ ├── resources │ │ │ └── javamoney.properties │ │ │ └── java │ │ │ └── org │ │ │ └── javamoney │ │ │ └── examples │ │ │ └── console │ │ │ └── java8 │ │ │ ├── functional │ │ │ ├── CreateCurrencyUnit.java │ │ │ └── CreateMonetaryCurrency.java │ │ │ ├── format │ │ │ └── FormattingAmountsBRL.java │ │ │ └── core │ │ │ └── CurrenciesPlayWithProviders.java │ └── pom.xml ├── javamoney-console-convert │ ├── src │ │ ├── etc │ │ │ └── README │ │ └── main │ │ │ ├── resources │ │ │ └── META-INF │ │ │ │ └── services │ │ │ │ └── javax.money.spi.CurrencyProviderSpi │ │ │ └── java │ │ │ └── org │ │ │ └── javamoney │ │ │ └── examples │ │ │ └── console │ │ │ └── convert │ │ │ └── provider │ │ │ └── BrokenECBCurrentRateProvider.java │ └── .gitignore └── pom.xml ├── .gitignore ├── README.md ├── .circleci └── config.yml └── src └── etc └── javamoney-examples clean install.launch /swing/.gitignore: -------------------------------------------------------------------------------- 1 | target -------------------------------------------------------------------------------- /swing/javamoney-ez/common/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /web/.gitignore: -------------------------------------------------------------------------------- 1 | /.settings 2 | /.project 3 | /target 4 | -------------------------------------------------------------------------------- /javafx/money-fxdemo/src/main/resources/i18n/translation.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /javafx/money-fxdemo/src/test/java/do-not-delete-me.txt: -------------------------------------------------------------------------------- 1 | Placeholder -------------------------------------------------------------------------------- /javafx/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.settings 3 | /.externalToolBuilders 4 | -------------------------------------------------------------------------------- /web/README.md: -------------------------------------------------------------------------------- 1 | web 2 | ================== 3 | 4 | JSR 354 Web Examples -------------------------------------------------------------------------------- /javafx/README.md: -------------------------------------------------------------------------------- 1 | javafx 2 | ================== 3 | 4 | JSR 354 JavaFX Examples -------------------------------------------------------------------------------- /web/jsf-money/.gitignore: -------------------------------------------------------------------------------- 1 | /.settings 2 | /target 3 | /.classpath 4 | /.project 5 | -------------------------------------------------------------------------------- /console/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.settings 3 | /.classpath 4 | /.project 5 | /bin 6 | -------------------------------------------------------------------------------- /swing/README.md: -------------------------------------------------------------------------------- 1 | Swing RCP Examples 2 | ================== 3 | 4 | JSR 354 Examples for Swing 5 | -------------------------------------------------------------------------------- /web/jax-rs-money/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /console/javamoney-console-java11/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.settings 3 | /.classpath 4 | /.project 5 | -------------------------------------------------------------------------------- /console/javamoney-console-java8/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.settings 3 | /.classpath 4 | /.project 5 | -------------------------------------------------------------------------------- /console/javamoney-console-convert/src/etc/README: -------------------------------------------------------------------------------- 1 | This example is based on Moneta 1.0.1 (not yet released) -------------------------------------------------------------------------------- /javafx/money-fxdemo/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Main-Class: org.javamoney.examples.fxdemo.FXDemo 3 | 4 | -------------------------------------------------------------------------------- /console/javamoney-console-convert/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.settings 3 | /.classpath 4 | /.project 5 | /.resourceCache/ 6 | -------------------------------------------------------------------------------- /javafx/money-fxdemo/.gitignore: -------------------------------------------------------------------------------- 1 | /.settings 2 | /target 3 | /.classpath 4 | /.project 5 | /target 6 | /bin 7 | /.resourceCache/ 8 | -------------------------------------------------------------------------------- /web/javamoney-payment-cdi-event/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.settings 3 | /.classpath 4 | /.project 5 | /bin 6 | /.tern-project 7 | /.resourceCache/ 8 | -------------------------------------------------------------------------------- /console/javamoney-console-java11/src/main/resources/javamoney.properties: -------------------------------------------------------------------------------- 1 | #Currency Conversion 2 | conversion.default-chain=IDENT,ECB,IMF,ECB-HIST,ECB-HIST90 -------------------------------------------------------------------------------- /console/javamoney-console-java8/src/main/resources/javamoney.properties: -------------------------------------------------------------------------------- 1 | #Currency Conversion 2 | conversion.default-chain=IDENT,ECB,IMF,ECB-HIST,ECB-HIST90 -------------------------------------------------------------------------------- /javafx/money-javafx-binding/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.settings 3 | /.classpath 4 | /.project 5 | /build.xml 6 | /nb-configuration.xml 7 | /target 8 | /bin 9 | -------------------------------------------------------------------------------- /javafx/src/site/resources/images/NB7_JavaFX_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/src/site/resources/images/NB7_JavaFX_2.png -------------------------------------------------------------------------------- /javafx/src/site/resources/images/NB7_JavaFX_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/src/site/resources/images/NB7_JavaFX_3.png -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/deploy/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/money-javafx-binding/src/main/deploy/icon.png -------------------------------------------------------------------------------- /javafx/src/site/resources/images/Eclipse_JRE8_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/src/site/resources/images/Eclipse_JRE8_0.png -------------------------------------------------------------------------------- /javafx/src/site/resources/images/Eclipse_JRE8_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/src/site/resources/images/Eclipse_JRE8_1.png -------------------------------------------------------------------------------- /javafx/src/site/resources/images/Eclipse_JRE8_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/src/site/resources/images/Eclipse_JRE8_2.png -------------------------------------------------------------------------------- /console/javamoney-console-convert/src/main/resources/META-INF/services/javax.money.spi.CurrencyProviderSpi: -------------------------------------------------------------------------------- 1 | org.javamoney.examples.console.convert.spi.GeeConCurrencyProvider -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/deploy/splash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/money-javafx-binding/src/main/deploy/splash.jpg -------------------------------------------------------------------------------- /javafx/src/site/resources/images/Eclipse_JRE8_0_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/src/site/resources/images/Eclipse_JRE8_0_1.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains generic classes. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /javafx/money-fxdemo/src/main/resources/images/javamoney.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/money-fxdemo/src/main/resources/images/javamoney.png -------------------------------------------------------------------------------- /javafx/money-fxdemo/src/main/resources/images/javamoney_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/money-fxdemo/src/main/resources/images/javamoney_s.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/net/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to networking. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/table/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to tables. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/report/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to reports. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/utility/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes for simplifying tasks. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/resources/images/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/javafx/money-javafx-binding/src/main/resources/images/background.jpg -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/gui/table/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to tables. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/utility/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes for simplifying tasks. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/dialog/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to dialogs. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/view/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to the UI views. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/gui/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to the user interface. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to the user interface. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/locale/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to the user's locale. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/dynamic/total/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to totals. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains generic classes pertaining to the application. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /web/javamoney-payment-cdi-event/src/main/webapp/resources/gfx/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/web/javamoney-payment-cdi-event/src/main/webapp/resources/gfx/banner.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/chooser/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to choosing things. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/table/model/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to table models. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/view/home/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to the home view. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/view/totals/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to the totals view. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/persisted/payee/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to payees. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/java/org/javamoney/jfx/value/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JSR 354 JavaFX Binding Example 3 | */ 4 | /** 5 | * @author Werner Keil 6 | * 7 | */ 8 | package org.javamoney.jfx.value; -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/exception/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes that other classes use to log or throw. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/view/register/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to the register view. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/importexport/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to importing and exporting. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes that represent the fundamental data elements. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/persisted/account/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to accounts. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/persisted/category/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to categories. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/persisted/reminder/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to reminders. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | .project 3 | 4 | .settings/ 5 | .resourceCache/ 6 | nbproject/ 7 | target/ 8 | .classpath 9 | *.iml 10 | .idea/ 11 | .directory 12 | 13 | # Package Files # 14 | *.jar 15 | *.war 16 | *.ear -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/table/comparator/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to comparing table data. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/dynamic/transaction/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to transactions. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/persisted/transaction/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to transactions. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/java/org/javamoney/jfx/property/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JSR 354 JavaFX Binding Example 3 | */ 4 | /** 5 | * @author Werner Keil 6 | * 7 | */ 8 | package org.javamoney.jfx.property; -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/dialog/preferences/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes pertaining to the preferences dialog. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/persisted/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes that represent data elements that are saved. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/dynamic/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Contains classes that represent data elements that are generated at runtime. 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/Date.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/Date.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/i18n/fin.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/i18n/fin.properties -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/i18n/fin.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/i18n/fin.properties -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/i18n/ita.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/i18n/ita.properties -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/i18n/por.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/i18n/por.properties -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/Actions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/Actions.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ArrowUp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ArrowUp.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/Filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/Filter.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/Warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/Warning.png -------------------------------------------------------------------------------- /web/javamoney-payment-cdi-event/src/main/webapp/resources/gfx/triplebrand_jcpwildflyjakartaee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/web/javamoney-payment-cdi-event/src/main/webapp/resources/gfx/triplebrand_jcpwildflyjakartaee.png -------------------------------------------------------------------------------- /web/javamoney-payment-cdi-event/src/main/webapp/resources/gfx/triplebrand_jcpwildflyjakartaee.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/web/javamoney-payment-cdi-event/src/main/webapp/resources/gfx/triplebrand_jcpwildflyjakartaee.xcf -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/Search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/Search.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ArrowBack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ArrowBack.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ArrowDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ArrowDown.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/CheckBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/CheckBox.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelBlue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelBlue.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelGray.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelNone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelNone.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelRed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelRed.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/MenuArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/MenuArrow.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ViewsHome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ViewsHome.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ArrowForward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ArrowForward.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogExport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogExport.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogFilter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogFilter.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogImport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogImport.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogReport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogReport.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogSplit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogSplit.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeSpacer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeSpacer.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelGreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelGreen.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelOrange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelOrange.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelPurple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelPurple.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelYellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/LabelYellow.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartBlue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartBlue.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartGray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartGray.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartRed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartRed.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ViewsBudgets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ViewsBudgets.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ViewsTotals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/ViewsTotals.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsLogo.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsLogo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsLogo2.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/DialogAccept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/DialogAccept.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/DialogCancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/DialogCancel.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SearchClear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SearchClear.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SearchNoText.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SearchNoText.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SortColumnUp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SortColumnUp.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogPassword.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogPassword.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/FormNextCheck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/FormNextCheck.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeBackground.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeTileHeader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeTileHeader.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeTileTypes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeTileTypes.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartGreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartGreen.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartOrange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartOrange.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsBanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsBanner.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsBanner2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsBanner2.jpg -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsBanner2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/WindowsBanner2.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SearchWithMenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SearchWithMenu.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SortColumnDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SortColumnDown.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogUninstall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogUninstall.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeTileSummary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/HomeTileSummary.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartRedLegend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartRedLegend.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesPayees.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesPayees.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/TableReconciled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/TableReconciled.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogReminderAlarm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogReminderAlarm.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartBlueLegend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartBlueLegend.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartGrayLegend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartGrayLegend.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartGreenLegend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartGreenLegend.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesAccounts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesAccounts.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesGeneral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesGeneral.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesNetwork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesNetwork.png -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SearchClearPressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/resources/SearchClearPressed.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogEditTransactions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/DialogEditTransactions.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartOrangeLegend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PieChartOrangeLegend.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesCategories.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesCategories.png -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesReminders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JavaMoney/javamoney-examples/HEAD/swing/javamoney-ez/money/src/main/resources/org/javamoney/examples/ez/money/resources/PreferencesReminders.png -------------------------------------------------------------------------------- /web/jsf-money/src/main/webapp/WEB-INF/beans.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | -------------------------------------------------------------------------------- /web/jax-rs-money/WebContent/WEB-INF/beans.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /web/jax-rs-money/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | -------------------------------------------------------------------------------- /web/jsf-money/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Start Page 5 | 6 | 7 | 8 |

Hello World!

9 | 10 | 11 | -------------------------------------------------------------------------------- /web/jax-rs-money/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Start Page 5 | 6 | 7 | 8 |

Hello World!

9 | 10 | 11 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/IconHolder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | */ 4 | package org.javamoney.examples.ez.common; 5 | 6 | import javax.swing.ImageIcon; 7 | 8 | /** 9 | * @author Werner Keil 10 | * 11 | */ 12 | public interface IconHolder { 13 | ImageIcon getIcon(); 14 | } 15 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/i18n/eng.properties: -------------------------------------------------------------------------------- 1 | # Properties file for the English language. 2 | ClipboardMenuController.all=Select all 3 | ClipboardMenuController.copy=Copy 4 | ClipboardMenuController.cut=Cut 5 | ClipboardMenuController.paste=Paste 6 | shared.cancel=Cancel 7 | shared.ok=OK 8 | -------------------------------------------------------------------------------- /web/jax-rs-money/src/main/java/org/javamoney/examples/jaxrs/infrastructure/ApplicationConfig.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.jaxrs.infrastructure; 2 | 3 | import javax.ws.rs.core.Application; 4 | 5 | @javax.ws.rs.ApplicationPath("resources") 6 | public class ApplicationConfig extends Application { 7 | 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/i18n/ita.properties: -------------------------------------------------------------------------------- 1 | # Properties file for the Italian language. 2 | ClipboardMenuController.all=Seleziona tutto 3 | ClipboardMenuController.copy=Copia 4 | ClipboardMenuController.cut=Taglia 5 | ClipboardMenuController.paste=Incolla 6 | shared.cancel=Annulla 7 | shared.ok=OK 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/i18n/por.properties: -------------------------------------------------------------------------------- 1 | # Properties file for the Portuguese language. 2 | ClipboardMenuController.all=Selecionar tudo 3 | ClipboardMenuController.copy=Copiar 4 | ClipboardMenuController.cut=Recortar 5 | ClipboardMenuController.paste=Colar 6 | shared.cancel=Cancelar 7 | shared.ok=Aprovar 8 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/java/org/javamoney/jfx/binding/MonetaryExpression.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JSR 354 JavaFX Binding Example 3 | */ 4 | package org.javamoney.jfx.binding; 5 | 6 | import org.javamoney.jfx.value.ObservableMonetaryValue; 7 | 8 | /** 9 | * 10 | * @author Werner Keil 11 | */ 12 | public interface MonetaryExpression extends ObservableMonetaryValue { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/java/org/javamoney/jfx/binding/MonetaryBinding.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JSR 354 JavaFX Binding Example 3 | */ 4 | package org.javamoney.jfx.binding; 5 | 6 | import javafx.beans.binding.Binding; 7 | 8 | import javax.money.MonetaryAmount; 9 | 10 | /** 11 | * 12 | * @author Werner Keil 13 | */ 14 | public interface MonetaryBinding extends Binding { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/java/org/javamoney/jfx/value/WritableMonetaryValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JSR 354 JavaFX Binding Example 3 | */ 4 | package org.javamoney.jfx.value; 5 | 6 | import javafx.beans.value.WritableValue; 7 | 8 | import javax.money.MonetaryAmount; 9 | 10 | /** 11 | * @author Werner Keil 12 | * 13 | */ 14 | public interface WritableMonetaryValue extends WritableValue { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /web/jsf-money/README.md: -------------------------------------------------------------------------------- 1 | JSF with Java Money and Currency JSF Examples 2 | ============================================= 3 | 4 | Example using JSF with MoneyAPI, with two simple samples. 5 | 6 | * The first one is a list of products, when an element was added the table informs the number of elements, the cheaper one, expensive one, the sum and the average of products. 7 | * The last one it to do exchange rage from some currencies. 8 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/java/org/javamoney/jfx/property/ReadOnlyMonetaryProperty.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JSR 354 JavaFX Binding Example 3 | */ 4 | package org.javamoney.jfx.property; 5 | 6 | import javafx.beans.property.ReadOnlyProperty; 7 | 8 | import javax.money.MonetaryAmount; 9 | 10 | /** 11 | * @author Werner Keil 12 | * 13 | */ 14 | public abstract class ReadOnlyMonetaryProperty implements ReadOnlyProperty { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/test/java/org/javamoney/examples/ez/common/gui/LinkTest.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.ez.common.gui; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import org.junit.Test; 6 | 7 | public class LinkTest { 8 | 9 | @Test 10 | public void testSetLinkText() { 11 | Link link = new Link("A link"); 12 | assertEquals("A link", link.getLinkText()); 13 | assertEquals("A link", link.getText()); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /web/jsf-money/src/main/java/javamoneyexamples/jsf/money/exchange/ExchangeRateProducer.java: -------------------------------------------------------------------------------- 1 | package javamoneyexamples.jsf.money.exchange; 2 | 3 | import javax.enterprise.inject.Produces; 4 | import javax.money.convert.ExchangeRateProvider; 5 | import javax.money.convert.MonetaryConversions; 6 | 7 | public class ExchangeRateProducer { 8 | 9 | @Produces 10 | public ExchangeRateProvider get() { 11 | return MonetaryConversions.getExchangeRateProvider("ECB"); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/importexport/ImportExportTypeKeys.java: -------------------------------------------------------------------------------- 1 | // ImportExportTypeKeys 2 | 3 | package org.javamoney.examples.ez.money.importexport; 4 | 5 | /** 6 | * This enumerated class provides keys for the import export types. 7 | */ 8 | public 9 | enum 10 | ImportExportTypeKeys 11 | { 12 | /** 13 | * The action to export. 14 | */ 15 | EXPORT, 16 | /** 17 | * The action to import. 18 | */ 19 | IMPORT; 20 | } 21 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/dialog/preferences/IncomePanel.java: -------------------------------------------------------------------------------- 1 | // IncomePanel 2 | 3 | package org.javamoney.examples.ez.money.gui.dialog.preferences; 4 | 5 | /** 6 | * This class facilitates managing income categories. 7 | */ 8 | public 9 | final 10 | class IncomePanel 11 | extends CategoryPanel 12 | { 13 | /** 14 | * Constructs a new preferences panel. 15 | */ 16 | public 17 | IncomePanel() 18 | { 19 | super(PreferencesKeys.INCOME); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/net/ProxyConnectionTypeKeys.java: -------------------------------------------------------------------------------- 1 | // ProxyConnectionTypeKeys 2 | 3 | package org.javamoney.examples.ez.common.net; 4 | 5 | /** 6 | * This enumerated class provides connection type keys for a proxy 7 | * configuration. 8 | */ 9 | public 10 | enum 11 | ProxyConnectionTypeKeys 12 | { 13 | /** 14 | * A direct connection, no proxy used. 15 | */ 16 | DIRECT, 17 | /** 18 | * A manual proxy configuration. 19 | */ 20 | MANUAL; 21 | } 22 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/dialog/preferences/ExpensesPanel.java: -------------------------------------------------------------------------------- 1 | // ExpensesPanel 2 | 3 | package org.javamoney.examples.ez.money.gui.dialog.preferences; 4 | 5 | /** 6 | * This class facilitates managing expense categories. 7 | */ 8 | public 9 | final 10 | class ExpensesPanel 11 | extends CategoryPanel 12 | { 13 | /** 14 | * Constructs a new preferences panel. 15 | */ 16 | public 17 | ExpensesPanel() 18 | { 19 | super(PreferencesKeys.EXPENSES); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /javafx/money-fxdemo/src/main/java/org/javamoney/examples/fxdemo/widgets/RateTypeSelector.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.fxdemo.widgets; 2 | 3 | import java.util.Collection; 4 | 5 | import javax.money.convert.MonetaryConversions; 6 | 7 | import javafx.scene.control.ChoiceBox; 8 | 9 | @SuppressWarnings("restriction") 10 | public class RateTypeSelector extends ChoiceBox { 11 | 12 | public RateTypeSelector() { 13 | final Collection types = MonetaryConversions.getConversionProviderNames(); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/importexport/ImportExportFormatKeys.java: -------------------------------------------------------------------------------- 1 | // ImportExportFormatKeys 2 | 3 | package org.javamoney.examples.ez.money.importexport; 4 | 5 | /** 6 | * This enumerated class provides keys for the importing and exporting formats. 7 | */ 8 | enum 9 | ImportExportFormatKeys 10 | { 11 | /** 12 | * The CSV format. 13 | */ 14 | CSV, 15 | /** 16 | * The OFX format. 17 | */ 18 | OFX, 19 | /** 20 | * The QIF format. 21 | */ 22 | QIF; 23 | } 24 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/resources/org/javamoney/examples/ez/common/i18n/rus.properties: -------------------------------------------------------------------------------- 1 | # Properties file for the Russian language. 2 | ClipboardMenuController.all=\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 3 | ClipboardMenuController.copy=\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c 4 | ClipboardMenuController.cut=\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c 5 | ClipboardMenuController.paste=\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c 6 | shared.cancel=\u041e\u0442\u043c\u0435\u043d\u0430 7 | shared.ok=OK 8 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/test/java/org/javamoney/examples/ez/money/model/DataElementTest.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.ez.money.model; 2 | 3 | import static org.junit.Assert.*; 4 | 5 | import org.junit.Test; 6 | 7 | public class DataElementTest { 8 | 9 | @Test 10 | public void testGetIdentifier() { 11 | DataElement temp = new DataElement("Id1"); 12 | assertEquals("Id1", temp.getIdentifier()); 13 | } 14 | 15 | @Test 16 | public void testToString() { 17 | DataElement temp = new DataElement("Id1"); 18 | assertEquals("Id1", temp.toString()); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /javafx/money-fxdemo/nbactions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | run 5 | 6 | process-classes 7 | org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 8 | 9 | 10 | -classpath %classpath org.javamoney.examples.fxdemo.FXDemo 11 | java 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/java/org/javamoney/jfx/value/ObservableMonetaryValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JSR 354 JavaFX Binding Example 3 | */ 4 | package org.javamoney.jfx.value; 5 | 6 | import javafx.beans.value.ObservableValue; 7 | 8 | import javax.money.MonetaryAmount; 9 | 10 | /** 11 | * 12 | * @author Werner Keil 13 | */ 14 | public interface ObservableMonetaryValue extends ObservableValue { 15 | public int intValue(); 16 | 17 | public long longValue(); 18 | 19 | public float floatValue(); 20 | 21 | public double doubleValue(); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/view/register/FormFieldKeys.java: -------------------------------------------------------------------------------- 1 | // FormFieldKeys 2 | 3 | package org.javamoney.examples.ez.money.gui.view.register; 4 | 5 | /** 6 | * This enumerated class provides keys for the form's fields. 7 | */ 8 | enum 9 | FormFieldKeys 10 | { 11 | /** 12 | * The field for the amount. 13 | */ 14 | AMOUNT, 15 | /** 16 | * The field for the check number. 17 | */ 18 | CHECK_NUMBER, 19 | /** 20 | * The field for the date. 21 | */ 22 | DATE, 23 | /** 24 | * The field for the notes. 25 | */ 26 | NOTES; 27 | } 28 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/CommonConstants.java: -------------------------------------------------------------------------------- 1 | // CommonConstants 2 | 3 | package org.javamoney.examples.ez.common; 4 | 5 | /** 6 | * This interface provides common constants. 7 | */ 8 | public 9 | interface 10 | CommonConstants 11 | { 12 | /** 13 | * Whether or not the platform is a Mac. 14 | */ 15 | public static final boolean IS_MAC = System.getProperty("mrj.version") != null; 16 | /** 17 | * Whether or not the platform is Windows. 18 | */ 19 | public static final boolean IS_WINDOWS = System.getProperty("os.name").startsWith("Windows") == true; 20 | } 21 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/persisted/payee/Payee.java: -------------------------------------------------------------------------------- 1 | // Payee 2 | 3 | package org.javamoney.examples.ez.money.model.persisted.payee; 4 | 5 | import org.javamoney.examples.ez.money.model.DataElement; 6 | 7 | /** 8 | * This class represents where money was received and where money was paid. 9 | */ 10 | public 11 | final 12 | class 13 | Payee 14 | extends DataElement 15 | { 16 | /** 17 | * Constructs a new payee. 18 | * 19 | * @param identifier The identifier. 20 | */ 21 | public 22 | Payee(String identifier) 23 | { 24 | super(identifier); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /web/jax-rs-money/src/main/java/org/javamoney/examples/jaxrs/currency/Europe.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.jaxrs.currency; 2 | 3 | import static java.lang.annotation.ElementType.FIELD; 4 | import static java.lang.annotation.ElementType.METHOD; 5 | import static java.lang.annotation.ElementType.TYPE; 6 | 7 | import java.lang.annotation.Retention; 8 | import java.lang.annotation.RetentionPolicy; 9 | import java.lang.annotation.Target; 10 | 11 | import javax.inject.Qualifier; 12 | 13 | 14 | @Target({TYPE, METHOD, FIELD}) 15 | @Retention(RetentionPolicy.RUNTIME) 16 | @Qualifier 17 | public @interface Europe { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /web/jax-rs-money/src/main/java/org/javamoney/examples/jaxrs/currency/Argentina.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.jaxrs.currency; 2 | 3 | import static java.lang.annotation.ElementType.FIELD; 4 | import static java.lang.annotation.ElementType.METHOD; 5 | import static java.lang.annotation.ElementType.TYPE; 6 | 7 | import java.lang.annotation.Retention; 8 | import java.lang.annotation.RetentionPolicy; 9 | import java.lang.annotation.Target; 10 | 11 | import javax.inject.Qualifier; 12 | 13 | 14 | @Target({TYPE, METHOD, FIELD}) 15 | @Retention(RetentionPolicy.RUNTIME) 16 | @Qualifier 17 | public @interface Argentina { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/view/ViewKeys.java: -------------------------------------------------------------------------------- 1 | // ViewKeys 2 | 3 | package org.javamoney.examples.ez.money.gui.view; 4 | 5 | /** 6 | * This enumerated class provides keys for the views. 7 | */ 8 | public 9 | enum 10 | ViewKeys 11 | { 12 | /** 13 | * The view for displaying the budgets. 14 | */ 15 | BUDGETS, 16 | /** 17 | * The view for displaying the accounts overview. 18 | */ 19 | HOME, 20 | /** 21 | * The view for displaying the account's transactions. 22 | */ 23 | REGISTER, 24 | /** 25 | * The view for displaying the totals. 26 | */ 27 | TOTALS; 28 | } 29 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/persisted/payee/PayeeCollection.java: -------------------------------------------------------------------------------- 1 | // PayeeCollection 2 | 3 | package org.javamoney.examples.ez.money.model.persisted.payee; 4 | 5 | import static org.javamoney.examples.ez.money.model.DataTypeKeys.PAYEE; 6 | 7 | import org.javamoney.examples.ez.money.model.DataCollection; 8 | 9 | /** 10 | * This class facilitates managing payees. 11 | */ 12 | public 13 | final 14 | class 15 | PayeeCollection 16 | extends DataCollection 17 | { 18 | /** 19 | * Constructs a new collection. 20 | */ 21 | public 22 | PayeeCollection() 23 | { 24 | super(PAYEE); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/report/CategoryReportSortByKeys.java: -------------------------------------------------------------------------------- 1 | // CategoryReportSortByKeys 2 | 3 | package org.javamoney.examples.ez.money.report; 4 | 5 | /** 6 | * This enumerated class provides keys for the fields in a category report that 7 | * can be sorted. 8 | */ 9 | public 10 | enum 11 | CategoryReportSortByKeys 12 | { 13 | /** 14 | * The category's total. 15 | */ 16 | AMOUNT, 17 | /** 18 | * The category's identifier. 19 | */ 20 | CATEGORY, 21 | /** 22 | * The category's group. 23 | */ 24 | GROUP, 25 | 26 | /** 27 | * The category's Percent. 28 | */ 29 | PERCENT; 30 | } 31 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/importexport/OFXConstants.java: -------------------------------------------------------------------------------- 1 | // OFXConstants 2 | 3 | package org.javamoney.examples.ez.money.importexport; 4 | 5 | import org.javamoney.examples.ez.common.utility.I18NHelper; 6 | 7 | /** 8 | * This class provides constants pertaining to the OFX format. 9 | */ 10 | public 11 | interface 12 | OFXConstants 13 | { 14 | /** 15 | * The OFX file extension. 16 | */ 17 | public static final String FILE_EXTENSION = ".ofx,.qfx"; 18 | /** 19 | * The OFX file description. 20 | */ 21 | public static final String FILE_DESCRIPTION = I18NHelper.getProperty("OFXConstants.file_description"); 22 | } 23 | -------------------------------------------------------------------------------- /web/jax-rs-money/src/main/java/org/javamoney/examples/jaxrs/bank/HistoryBankAccount.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.jaxrs.bank; 2 | 3 | import java.time.LocalDateTime; 4 | 5 | import javax.money.MonetaryAmount; 6 | 7 | public class HistoryBankAccount { 8 | 9 | private MonetaryAmount value; 10 | 11 | private LocalDateTime when; 12 | 13 | public MonetaryAmount getValue() { 14 | return value; 15 | } 16 | 17 | public void setValue(MonetaryAmount value) { 18 | this.value = value; 19 | } 20 | 21 | public LocalDateTime getWhen() { 22 | return when; 23 | } 24 | 25 | public void setWhen(LocalDateTime when) { 26 | this.when = when; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/persisted/reminder/ReminderCollection.java: -------------------------------------------------------------------------------- 1 | // ReminderCollection 2 | 3 | package org.javamoney.examples.ez.money.model.persisted.reminder; 4 | 5 | import static org.javamoney.examples.ez.money.model.DataTypeKeys.REMINDER; 6 | 7 | import org.javamoney.examples.ez.money.model.DataCollection; 8 | 9 | /** 10 | * This class facilitates managing reminders. 11 | */ 12 | public 13 | final 14 | class 15 | ReminderCollection 16 | extends DataCollection 17 | { 18 | /** 19 | * Constructs a new collection. 20 | */ 21 | public 22 | ReminderCollection() 23 | { 24 | super(REMINDER); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /web/jsf-money/src/main/java/javamoneyexamples/jsf/money/exchange/ExchangeType.java: -------------------------------------------------------------------------------- 1 | package javamoneyexamples.jsf.money.exchange; 2 | 3 | import java.util.List; 4 | import java.util.stream.Collectors; 5 | import java.util.stream.Stream; 6 | 7 | public enum ExchangeType { 8 | 9 | DOLLAR("USD"), BRAZILIAN_REAL("BRL"), EURO("EUR"), YEN("JPY"); 10 | 11 | private String type; 12 | 13 | ExchangeType(String type) { 14 | this.type = type; 15 | } 16 | 17 | public String getType() { 18 | return type; 19 | } 20 | 21 | public static List getCoins() { 22 | return Stream.of(ExchangeType.values()).map(ExchangeType::getType).collect(Collectors.toList()); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /web/jax-rs-money/src/main/java/org/javamoney/examples/jaxrs/currency/Brazil.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.jaxrs.currency; 2 | 3 | import static java.lang.annotation.ElementType.FIELD; 4 | import static java.lang.annotation.ElementType.METHOD; 5 | import static java.lang.annotation.ElementType.TYPE; 6 | import static java.lang.annotation.ElementType.PARAMETER; 7 | 8 | import java.lang.annotation.Retention; 9 | import java.lang.annotation.RetentionPolicy; 10 | import java.lang.annotation.Target; 11 | 12 | import javax.inject.Qualifier; 13 | 14 | 15 | @Target({TYPE, METHOD, FIELD, PARAMETER}) 16 | @Retention(RetentionPolicy.RUNTIME) 17 | @Qualifier 18 | public @interface Brazil { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /web/jax-rs-money/src/main/java/org/javamoney/examples/jaxrs/currency/America.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.jaxrs.currency; 2 | 3 | import static java.lang.annotation.ElementType.FIELD; 4 | import static java.lang.annotation.ElementType.METHOD; 5 | import static java.lang.annotation.ElementType.PARAMETER; 6 | import static java.lang.annotation.ElementType.TYPE; 7 | 8 | import java.lang.annotation.Retention; 9 | import java.lang.annotation.RetentionPolicy; 10 | import java.lang.annotation.Target; 11 | 12 | import javax.inject.Qualifier; 13 | 14 | 15 | @Target({TYPE, METHOD, FIELD, PARAMETER}) 16 | @Retention(RetentionPolicy.RUNTIME) 17 | @Qualifier 18 | public @interface America { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/test/java/org/javamoney/examples/javafx/BillTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JSR 354 JavaFX Binding Example 3 | */ 4 | package org.javamoney.examples.javafx; 5 | 6 | import org.junit.Test; 7 | 8 | import static org.junit.Assert.*; 9 | 10 | /** 11 | * @author Werner Keil 12 | * 13 | */ 14 | public class BillTest { 15 | 16 | Bill bill1 = new Bill(); 17 | Bill bill2 = new Bill(); 18 | Bill bill3 = new Bill(); 19 | 20 | @Test 21 | public void testGetAmountDue() { 22 | assertEquals(0d, bill1.getAmountDue(), 0); 23 | } 24 | 25 | @Test 26 | public void testGetNewAmountDue() { 27 | assertEquals(10d, bill1.getNewAmountDue().getNumber().doubleValue(), 0); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/exception/DialogCanceledException.java: -------------------------------------------------------------------------------- 1 | // DialogCanceledException 2 | 3 | package org.javamoney.examples.ez.money.exception; 4 | 5 | import javax.money.MonetaryException; 6 | 7 | /** 8 | * This class is thrown to indicate that a dialog was canceled. 9 | */ 10 | public 11 | final 12 | class 13 | DialogCanceledException 14 | extends MonetaryException 15 | { 16 | /** 17 | * 18 | */ 19 | private static final long serialVersionUID = 5320783062413147906L; 20 | 21 | /** 22 | * Constructs a new exception. 23 | */ 24 | public 25 | DialogCanceledException() 26 | { 27 | super(DialogCanceledException.class.getSimpleName()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/gui/CheckBox.java: -------------------------------------------------------------------------------- 1 | // CheckBox 2 | 3 | package org.javamoney.examples.ez.common.gui; 4 | 5 | import javax.swing.JCheckBox; 6 | 7 | /** 8 | * This class extends Swing's check box for the sole purpose to not have its 9 | * focus border painted. 10 | */ 11 | public 12 | class 13 | CheckBox 14 | extends JCheckBox 15 | { 16 | /** 17 | * Constructs a new check box. 18 | */ 19 | public 20 | CheckBox() 21 | { 22 | this(""); 23 | } 24 | 25 | /** 26 | * Constructs a new check box. 27 | * 28 | * @param text The text to display. 29 | */ 30 | public 31 | CheckBox(String text) 32 | { 33 | super(text); 34 | 35 | setFocusPainted(false); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/resources/log4j.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/src/main/java/org/javamoney/examples/ez/common/gui/RadioButton.java: -------------------------------------------------------------------------------- 1 | // RadioButton 2 | 3 | package org.javamoney.examples.ez.common.gui; 4 | 5 | import javax.swing.JRadioButton; 6 | 7 | /** 8 | * This class extends Swing's radio button for the sole purpose to not have its 9 | * focus border painted. 10 | */ 11 | public 12 | class 13 | RadioButton 14 | extends JRadioButton 15 | { 16 | /** 17 | * Constructs a new radio button. 18 | */ 19 | public 20 | RadioButton() 21 | { 22 | this(""); 23 | } 24 | 25 | /** 26 | * Constructs a new radio button. 27 | * 28 | * @param text The text to display. 29 | */ 30 | public 31 | RadioButton(String text) 32 | { 33 | super(text); 34 | 35 | setFocusPainted(false); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /web/jsf-money/src/main/java/javamoneyexamples/jsf/money/converter/MonetaryAmountConverter.java: -------------------------------------------------------------------------------- 1 | package javamoneyexamples.jsf.money.converter; 2 | 3 | import javax.faces.component.UIComponent; 4 | import javax.faces.context.FacesContext; 5 | import javax.faces.convert.Converter; 6 | import javax.faces.convert.FacesConverter; 7 | 8 | import org.javamoney.moneta.Money; 9 | 10 | @FacesConverter("monetaryAmount") 11 | public class MonetaryAmountConverter implements Converter { 12 | 13 | @Override 14 | public Object getAsObject(FacesContext context, UIComponent component, String value) { 15 | return Money.parse(value); 16 | } 17 | 18 | @Override 19 | public String getAsString(FacesContext context, UIComponent component, Object value) { 20 | return value.toString(); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /web/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | 4 | javamoney-examples 5 | org.javamoney.examples 6 | 1.3-SNAPSHOT 7 | 8 | javamoney-examples-web 9 | pom 10 | Java Money and Currency Web Examples 11 | 12 | javamoney-payment-cdi-event 13 | jsf-money 14 | 15 | 16 | org.javamoney.examples.web 17 | 18 | -------------------------------------------------------------------------------- /javafx/money-fxdemo/src/main/java/org/javamoney/examples/fxdemo/widgets/AbstractSingleSamplePane.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.fxdemo.widgets; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | import java.io.InputStreamReader; 6 | 7 | import org.javamoney.examples.fxdemo.AbstractFXMLComponent; 8 | 9 | import javafx.fxml.FXML; 10 | import javafx.scene.control.TextArea; 11 | import javafx.scene.layout.AnchorPane; 12 | import javafx.scene.layout.HBox; 13 | 14 | public class AbstractSingleSamplePane extends AbstractFXMLComponent { 15 | 16 | @FXML 17 | protected HBox buttonPane; 18 | 19 | @FXML 20 | protected AnchorPane inputPane; 21 | 22 | @FXML 23 | protected TextArea outputArea; 24 | 25 | public AbstractSingleSamplePane() { 26 | super("/org/javamoney/examples/fxdemo/widgets/SingleSamplePane.fxml"); 27 | } 28 | 29 | } -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/model/dynamic/transaction/TransactionFilterFieldKeys.java: -------------------------------------------------------------------------------- 1 | // TransactionFilterFieldKeys 2 | 3 | package org.javamoney.examples.ez.money.model.dynamic.transaction; 4 | 5 | /** 6 | * This enumerated class provides keys for the transaction fields that can be 7 | * filtered. 8 | */ 9 | public 10 | enum 11 | TransactionFilterFieldKeys 12 | { 13 | /** 14 | * Indicates all fields. 15 | */ 16 | ALL, 17 | /** 18 | * The transaction's amount field. 19 | */ 20 | AMOUNT, 21 | /** 22 | * The transaction's check number field. 23 | */ 24 | CHECK, 25 | /** 26 | * The transaction's date field. 27 | */ 28 | DATE, 29 | /** 30 | * The transaction's notes field. 31 | */ 32 | NOTES, 33 | /** 34 | * The transaction's payee field. 35 | */ 36 | PAYEE; 37 | } 38 | -------------------------------------------------------------------------------- /swing/javamoney-ez/common/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | org.javamoney.examples.ez 6 | javamoney-ez 7 | 3.0.2 8 | 9 | javamoney-ez-common 10 | JavaMoney EZ Common 11 | 12 | 13 | javax.money 14 | money-api 15 | ${api.version} 16 | 17 | 18 | org.javamoney 19 | moneta 20 | ${impl.type} 21 | 22 | 23 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/importexport/CSVConstants.java: -------------------------------------------------------------------------------- 1 | // CSVConstants 2 | 3 | package org.javamoney.examples.ez.money.importexport; 4 | 5 | import org.javamoney.examples.ez.common.utility.I18NHelper; 6 | 7 | /** 8 | * This class provides constants pertaining to the CSV format. 9 | */ 10 | public 11 | interface 12 | CSVConstants 13 | { 14 | /** 15 | * The CSV file extension. 16 | */ 17 | public static final String FILE_EXTENSION = ".csv"; 18 | /** 19 | * The CSV file description. 20 | */ 21 | public static final String FILE_DESCRIPTION = I18NHelper.getProperty("CSVConstants.file_description"); 22 | /** 23 | * A constant for a quotation mark. 24 | */ 25 | public static final String QUOTE = "\""; 26 | /** 27 | * The CSV field separator. 28 | */ 29 | public static final String SEPARATOR = ","; 30 | } 31 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/exception/NoAccountForImportException.java: -------------------------------------------------------------------------------- 1 | // NoAccountForImportException 2 | 3 | package org.javamoney.examples.ez.money.exception; 4 | 5 | import static org.javamoney.examples.ez.common.utility.I18NHelper.getProperty; 6 | 7 | import javax.money.MonetaryException; 8 | 9 | /** 10 | * This class is thrown or logged to indicate that there was no account to use 11 | * for importing transactions into. 12 | */ 13 | public 14 | final 15 | class 16 | NoAccountForImportException 17 | extends MonetaryException 18 | { 19 | /** 20 | * 21 | */ 22 | private static final long serialVersionUID = -1241083797082059206L; 23 | 24 | /** 25 | * Constructs a new exception. 26 | */ 27 | public 28 | NoAccountForImportException() 29 | { 30 | super(getProperty("NoAccountForImportException.description")); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /console/javamoney-console-java8/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | org.javamoney.examples.console 6 | javamoney-examples-console 7 | 1.3-SNAPSHOT 8 | 9 | javamoney-console-java8 10 | JavaMoney Java 8 Console Examples 11 | 12 | 1.8 13 | 14 | 15 | 16 | org.javamoney 17 | moneta 18 | ${impl.version} 19 | ${impl.type} 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /javafx/money-fxdemo/src/main/resources/samples/ExchangeRates.javatxt: -------------------------------------------------------------------------------- 1 | package samples; 2 | 3 | import javax.money.CurrencyUnit; 4 | import javax.money.convert.CurrencyConverter; 5 | import javax.money.Monetary; 6 | 7 | import org.javamoney.moneta.Money; 8 | 9 | /** 10 | * Sample snippets for accessing and creating currencies on platform level. 11 | */ 12 | public class ExchangeRates { 13 | 14 | /** 15 | * Shows access to exchange rates. 16 | */ 17 | public void accessRates() { 18 | CurrencyUnit base = Monetary.getCurrency("EUR"); 19 | CurrencyUnit term = Monetary.getCurrency("USD"); 20 | 21 | ExchangeRateProvider rateProv = MonetaryConversions.getRateProvider(); 22 | // Access Current 23 | ExchangeRate rate = rateProv.getExchangeRate(base, term); 24 | // Access Historic 25 | Long timestamp = ...; 26 | rate = rateProv.getExchangeRate(base, term, timestamp); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /web/jsf-money/src/main/java/javamoneyexamples/jsf/money/model/Product.java: -------------------------------------------------------------------------------- 1 | package javamoneyexamples.jsf.money.model; 2 | 3 | import java.io.Serializable; 4 | 5 | import javax.money.MonetaryAmount; 6 | 7 | public class Product implements Serializable { 8 | 9 | private static final long serialVersionUID = 1L; 10 | 11 | private String name; 12 | 13 | private MonetaryAmount money; 14 | 15 | public String getName() { 16 | return name; 17 | } 18 | 19 | public void setName(String name) { 20 | this.name = name; 21 | } 22 | 23 | public MonetaryAmount getMoney() { 24 | return money; 25 | } 26 | 27 | public void setMoney(MonetaryAmount money) { 28 | this.money = money; 29 | } 30 | 31 | 32 | @Override 33 | public String toString() { 34 | return "name: " + name + " money: " + money; 35 | } 36 | 37 | public void clear() { 38 | name = ""; 39 | money = null; 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /swing/javamoney-ez/README.md: -------------------------------------------------------------------------------- 1 | javamoney-ez 2 | ======================== 3 | 4 | What is it? 5 | ----------- 6 | 7 | This is an improved successor to [EZ Money](http://macdownload.informer.com/ez-money/ "EZ Money"). 8 | 9 | System requirements 10 | ------------------- 11 | 12 | All you need to build this project is (at least) **Java 8**, Maven 3.0 or higher. 13 | 14 | The application this project produces is designed to be run on Java Swing. 15 | 16 | Setting up the project 17 | ------------------- 18 | 19 | In order to make Maven build the project, you need to select a Java 6 or above compliant JVM. 20 | 21 | ###Steps for Command Line 22 | If you run Maven from the command line instead of an IDE like Eclipse or NetBeans, please ensure, the `JAVA_HOME` environment variable points to an appropriate version of Java 8 or above. 23 | 24 | Run `mvn compile exec:java` to execute the main class of javamoney-ez. 25 | -------------------------------------------------------------------------------- /web/jsf-money/src/main/java/javamoneyexamples/jsf/money/controller/ProductMB.java: -------------------------------------------------------------------------------- 1 | package javamoneyexamples.jsf.money.controller; 2 | 3 | import java.io.Serializable; 4 | 5 | import javamoneyexamples.jsf.money.model.Product; 6 | import javamoneyexamples.jsf.money.model.User; 7 | 8 | import javax.enterprise.context.SessionScoped; 9 | import javax.inject.Inject; 10 | import javax.inject.Named; 11 | 12 | 13 | @SessionScoped 14 | @Named 15 | public class ProductMB implements Serializable { 16 | 17 | private static final long serialVersionUID = -8303484031079724876L; 18 | 19 | @Inject 20 | private Product product; 21 | 22 | @Inject 23 | private User user; 24 | 25 | public Product getProduct() { 26 | return product; 27 | } 28 | 29 | public User getUser() { 30 | return user; 31 | } 32 | 33 | 34 | public void add(){ 35 | user.addProduct(product); 36 | System.out.println("Ok"); 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /web/jax-rs-money/src/main/java/org/javamoney/examples/jaxrs/currency/CurrenciesFactory.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.jaxrs.currency; 2 | 3 | import java.util.Locale; 4 | 5 | import javax.enterprise.context.ApplicationScoped; 6 | import javax.enterprise.inject.Produces; 7 | import javax.money.CurrencyUnit; 8 | import javax.money.Monetary; 9 | 10 | @ApplicationScoped 11 | public class CurrenciesFactory { 12 | 13 | @Produces 14 | @Brazil 15 | public CurrencyUnit getBrazil() { 16 | return Monetary.getCurrency("BRL"); 17 | } 18 | 19 | @Produces 20 | @America 21 | public CurrencyUnit getAmerica() { 22 | return Monetary.getCurrency(Locale.US); 23 | } 24 | 25 | @Produces 26 | @Argentina 27 | public CurrencyUnit getArgentina() { 28 | return Monetary.getCurrency("ARS"); 29 | } 30 | 31 | @Produces 32 | @Europe 33 | public CurrencyUnit getEurope() { 34 | return Monetary.getCurrency("EUR"); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/resources/styles/styles.css: -------------------------------------------------------------------------------- 1 | /* Application wide styles */ 2 | 3 | .label { 4 | -fx-font-size: 12px; 5 | -fx-font-weight: bold; 6 | -fx-text-fill: #333333; 7 | -fx-effect: dropshadow( gaussian , rgba(255,255,255,0.5) , 0,0,0,1 ); 8 | } 9 | 10 | .button { 11 | -fx-text-fill: white; 12 | -fx-font-family: "Arial Narrow"; 13 | -fx-font-weight: bold; 14 | -fx-background-color: linear-gradient(#61a2b1, #2A5058); 15 | -fx-effect: dropshadow( three-pass-box , rgba(0,0,0,0.6) , 5, 0.0 , 0 , 1 ); 16 | } 17 | 18 | .button:hover{ 19 | -fx-base: #395bae; 20 | } 21 | 22 | /* Component specific styles */ 23 | 24 | 25 | .main-panel { 26 | -fx-background-image: url("../images/background.jpg"); 27 | } 28 | 29 | .hello-message { 30 | -fx-text-fill: #AA0000; 31 | -fx-font-weight: bold; 32 | -fx-effect: dropshadow( gaussian , rgba(255,255,255,0.5) , 0,0,0,1 ); 33 | } 34 | 35 | -------------------------------------------------------------------------------- /console/javamoney-console-java11/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | 6 | org.javamoney.examples.console 7 | javamoney-examples-console 8 | 1.3-SNAPSHOT 9 | 10 | javamoney-console-java11 11 | JavaMoney Java 11 Console Examples 12 | 13 | 11 14 | 1.5-SNAPSHOT 15 | 16 | 17 | 18 | org.javamoney 19 | moneta 20 | ${impl.version} 21 | ${impl.type} 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /swing/javamoney-ez/money/src/main/java/org/javamoney/examples/ez/money/gui/dialog/preferences/GeneralOptionsPanel.java: -------------------------------------------------------------------------------- 1 | // GeneralOptionsPanel 2 | 3 | package org.javamoney.examples.ez.money.gui.dialog.preferences; 4 | 5 | import java.awt.GridBagConstraints; 6 | 7 | /** 8 | * This class facilitates managing general options. 9 | */ 10 | public 11 | final 12 | class 13 | GeneralOptionsPanel 14 | extends PreferencesPanel 15 | { 16 | /** 17 | * 18 | */ 19 | private static final long serialVersionUID = 8244153030512586124L; 20 | 21 | /** 22 | * Constructs a new preferences panel. 23 | */ 24 | public 25 | GeneralOptionsPanel() 26 | { 27 | super(PreferencesKeys.GENERAL); 28 | 29 | // Build panel. 30 | setFill(GridBagConstraints.BOTH); 31 | addEmptyCellAt(0, 0); 32 | add(new DisplayOptionsPanel(), 0, 1, 1, 1, 100, 50); 33 | addEmptyCellAt(0, 2); 34 | add(new FileManagerPanel(), 0, 3, 1, 1, 0, 50); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /swing/javamoney-ez/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | org.javamoney.examples.swing 6 | javamoney-examples-swing 7 | 1.3-SNAPSHOT 8 | 9 | org.javamoney.examples.ez 10 | javamoney-ez 11 | 3.0.2 12 | pom 13 | JavaMoney EZ 14 | EZ Money Reboot - powered by JavaMoney 15 | 16 | 17 | Apache License version 2.0 18 | ../../LICENSE.txt 19 | 20 | 21 | 22 | common 23 | money 24 | 25 | 26 | -------------------------------------------------------------------------------- /web/javamoney-payment-cdi-event/src/main/webapp/resources/css/screen.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | padding: 0; 4 | background-color: #EAECEE; 5 | font-family: Verdana, sans-serif; 6 | font-size: 0.9em; 7 | } 8 | #container { 9 | margin: 0 auto; 10 | padding: 0 20px 10px 20px; 11 | border: 1px solid #666666; 12 | width: 865px; /* subtract 40px from banner width for padding */ 13 | background: #FFFFFF url(../gfx/banner.png) no-repeat; 14 | padding-top: 110px; 15 | } 16 | #sidebar { 17 | font-size: 0.9em; 18 | width: 225px; 19 | float: right; 20 | border: 1px solid #666666; 21 | background: #EAECEE; 22 | padding: 0 15px 5px 15px; 23 | } 24 | #sidebar ul { 25 | padding-left: 30px; 26 | } 27 | #footer { 28 | clear: both; 29 | text-align: center; 30 | color: #666666; 31 | font-size: 0.85em; 32 | padding: 3em 0 0 0; 33 | } 34 | code { 35 | font-size: 1.1em; 36 | } 37 | span.invalid { 38 | padding-left: 3px; 39 | color: red; 40 | } 41 | -------------------------------------------------------------------------------- /web/jax-rs-money/src/main/java/org/javamoney/examples/jaxrs/model/BankAccount.java: -------------------------------------------------------------------------------- 1 | package org.javamoney.examples.jaxrs.model; 2 | 3 | import java.time.LocalDateTime; 4 | 5 | import javax.money.MonetaryAmount; 6 | 7 | public class BankAccount { 8 | 9 | private String user; 10 | 11 | private MonetaryAmount value; 12 | 13 | private LocalDateTime begin; 14 | 15 | private LocalDateTime end; 16 | 17 | public String getUser() { 18 | return user; 19 | } 20 | 21 | public void setUser(String user) { 22 | this.user = user; 23 | } 24 | 25 | public MonetaryAmount getValue() { 26 | return value; 27 | } 28 | 29 | public void setValue(MonetaryAmount value) { 30 | this.value = value; 31 | } 32 | 33 | public LocalDateTime getBegin() { 34 | return begin; 35 | } 36 | 37 | public void setBegin(LocalDateTime begin) { 38 | this.begin = begin; 39 | } 40 | 41 | public LocalDateTime getEnd() { 42 | return end; 43 | } 44 | 45 | public void setEnd(LocalDateTime end) { 46 | this.end = end; 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /web/javamoney-payment-cdi-event/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /javafx/money-fxdemo/src/main/resources/samples/CurrencyConversion.javatxt: -------------------------------------------------------------------------------- 1 | package samples; 2 | 3 | import javax.money.CurrencyUnit; 4 | import javax.money.convert.CurrencyConverter; 5 | import javax.money.provider.Monetary; 6 | 7 | import net.java.javamoney.ri.core.Money; 8 | import net.java.javamoney.ri.core.MoneyCurrency; 9 | 10 | /** 11 | * Sample snippets for accessing and creating currencies on platform level. 12 | */ 13 | public class CurrencyConversion { 14 | 15 | /** 16 | * Shows simple conversion of an amount. 17 | */ 18 | public void convertAmount() { 19 | Money amount = MonetaryAmounts.getAmountFactory().setCurrency("USD").setNumber(100.00).create(); 20 | Money amount2 = MonetaryAmounts.getAmountFactory().setCurrency("GBP").setNumber(100.00).create(); 21 | CurrencyUnit currency = MonetaryCurrencies.of("EUR"); 22 | CurrencyConversion conversion = MonetaryConversions.getConversion(currency, "ECB"); 23 | Money moneyInEuro1 = amount.with(conversion); 24 | Money moneyInEuro2 = amount2.with(conversion); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /javafx/money-javafx-binding/src/main/resources/fxml/hello.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 15 | 16 |