libGDX + ProGuard: How to obfuscate the Desktop JAR file

I have recently published my libGDX game Rainbow Diamonds for desktop computers. One problem I had was how to obfuscate the desktop JAR file for distribution, and this is how I solved it. I’m using openjdk 11.0.13 distributed as part Seguir leyendo libGDX + ProGuard: How to obfuscate the Desktop JAR file→

Apache POI: Usage of formulas and excel functions

In order to manipulate formulas in Apache POI, we use the method setCellFormula(«formula») of HSSFCell class. Similar to Microsoft Excel, we can use mathematics formulas (A1+B2+C3, B5*A2, …) and Excel’s functions (SUM, COUNT, MAX, …). When we use excel functions, Seguir leyendo Apache POI: Usage of formulas and excel functions→

How to generate MS Excel files from Java with Apache POI

Commonly it’s necessary to manage Microsoft Excel files from Java applications. It can be usefull, for example, to export / import data, report generation, etc. Apache POI is a library from Apache fundation, which has become a de facto standard Seguir leyendo How to generate MS Excel files from Java with Apache POI→