We may wish to add charts or graphs to our GUIs in Java. We look at how to achieve this with JFreeChart.
Search Results for: slice
Java Weekly, Issue 526
CountDownLatch, primitives for pattern matching, eBPF for Java, soft assertions, and 2FA vulnerabilities!
Wrapping a String After a Number of Characters Word-Wise
Learn to wrap a sentence automatically after a given number of characters.
How to Support UTF-8 Encoding in Eclipse
Learn how to enable UTF-8 encoding for all projects and per file type in Eclipse.
How to Permanently Enable Line Numbers in IntelliJ IDEA?
A quick and practical guide on enabling line numbers in IntelliJ IDEA.
CATALINA_OPTS vs. JAVA_OPTS in Apache Tomcat
A quick and practical comparison between CATALINA_OPTS and JAVA_OPTS in Apache Tomcat.
JSON File Data Into Kafka Topic
Explore the necessary steps to send JSON format data to the topic using a Kafka producer and consumer.
Understanding the java.net.SocketException Broken Pipe Error
Learn about the Java “java.net.SocketException: “Broken pipe” error, understand the leading cause of the exception, and see how to fix it.
Java Weekly, Issue 500 :)
Soft delete in JPA, Kotlin 1.9, platform teams, sliced onion architecture, and stream processing!
Java Weekly, Issue 499
Azure Spring, Spring Rest Client, Micronaut 4, Reactive database connectivity, virtual threads, and Gen-AI.
Java Weekly, Issue 498
Generational ZGC, reactive database access, health check, Kotlin 1.9, and billions of messages over TCP/IP!
Reading a JSP Variable From JavaScript
Explore several approaches to accessing a JSP variable from JavaScript.
Parsing Date Strings with Varying Formats
Explore strategies for parsing multiple date formats at once.
Introduction to QuestDB
A brief introduction to QuestDB, a column-oriented database designed for time-series and event data, and how to create, query and remove data.
Pitfalls on Testing with Spring Boot
Learn the pitfalls of writing Spring Boot tests.
Running Multiple Thread Groups in JMeter
A Thread Group allows us to simulate a specific type of workflow. We can run Thread Groups in parallel, or sequentially. We look at how to achieve this in JMeter.
SpringRunner vs MockitoJUnitRunner
Learn the key differences between SpringRunner and MockitoJUnitRunner and understand their purpose.
Slicing Arrays in Java
Learn how to get a subarray of a given array in Java
Patterns for Iterating Over Large Result Sets With Spring Data JPA
Learn various ways of iterating through large data sets retrieved with Spring Data JPA.
Is There a Destructor in Java?
Learn about the possibility of object destruction in Java.