The effect of a simple rolling number

1. Renderings 2. Custom attributes textColor font color textSize font size Time displayed in duration text 3. Instructions Step 1. Add it in your root build.gradle at the end of repositories: allprojects { repositories { ... maven { url 'https://jitpack.io' } } ...

Posted by r3drain on Thu, 30 Apr 2020 15:14:46 +0200

Java merge Word document

In daily work, it is inevitable to encounter the situation that multiple Word documents need to be merged into one document and reorganized. In order to help you to complete this operation efficiently and quickly, this paper will introduce two methods of merging Word documents in Java programs. Method 1: if the documents to be merged are displ ...

Posted by Coronet on Wed, 29 Apr 2020 16:17:48 +0200

Create Excel PivotTable in Java

Excel PivotTable has powerful data processing function, which can make the data in the table more intuitive. With Excel PivotTable, it is convenient for users to sort and filter all kinds of data quickly, and at the same time, it can meet the needs of users for different data summary. This article describes how to create and format an excel Piv ...

Posted by nolos on Mon, 27 Apr 2020 17:19:40 +0200

Java creates tables in Word

In Word documents, tables can make the text content more concise and clear, and also can make the data display more clear and intuitive. This article describes how to use Java code to create a table in a Word document and set the background color of its cells.   Jar file import method Method 1: Download free Free Spire.Doc for Java Package and ...

Posted by cmp241 on Tue, 21 Apr 2020 17:03:39 +0200

Introduction and Use of the SpringCloud-Service Registry "Eureka"

Two components of Eureka (vi)Eureka Server: Provides service registration services After each micro-service node is started by configuration, it will be registered in Eureka Server, so that the service registry in Eureka Server will store information of all available service nodes, and the information of service nodes can be visualized in the ...

Posted by Erik-NA on Mon, 20 Apr 2020 03:06:11 +0200

Java protects Excel workbooks and worksheets

For security reasons, you may need to protect the entire workbook or worksheet. Sometimes, you may even need to protect a worksheet, but keep the specified cells for editing. This article describes how to use free fire.xls for Java to implement these operations.   Add Spire.Xls.jar as a dependency Method 1: Download Free Spire.XLS for Java Pack ...

Posted by Kodak07 on Thu, 16 Apr 2020 16:26:40 +0200

Spring Boot integrates Log4j2 logs and pressure tests performance

Performance test of 1/ Log4j2 It is not difficult to see from the figure that the performance is the best when the number of online processes is between 2 and 16, and synchronous and asynchronous logger s are used to print logs. 2/ target Mixed sync/async Color log Classification output to different files Automatically compress and archive lo ...

Posted by etrooper on Wed, 15 Apr 2020 20:14:49 +0200

Java sets alternate background colors for rows in Excel

When making excel tables, by filling two adjacent rows in the data table with different background colors, you can make the data in each row look clearer, avoid reading wrong rows, and increase the beauty of Excel tables. This article describes how to set alternate background colors for Excel odd and even rows in a Java program.   Use tools: Fr ...

Posted by Petran76 on Thu, 09 Apr 2020 16:14:50 +0200

Gradle's article is enough for 12 - a common summary

Commonly used summary gradle common commands //List all the properties of the project. Then you can see the properties added by the plug-in and their default values gradle properties //List all tasks for the project gradle -q tasks --all Character string '' only represents a string "String splicing, variable variable splicing or task ...

Posted by rastem on Wed, 08 Apr 2020 15:01:29 +0200

Spring Boot Integrates Thymeleaf View Layer

Catalog Spring Boot Integration ThymeleafProject steps for integrating Thymeleaf with Spring Boot Thymeleaf syntax details Spring Boot Integration Thymeleaf Spring Boot integrates Thymeleaf (the official view layer technology recommended by Spring Boot) Thymeleaf feature: Thymeleaf renders html tags through specific syntax. Project steps ...

Posted by Stephen68 on Tue, 07 Apr 2020 20:54:18 +0200