Posts by Marcos • 14 points
3 posts
-
-1
votes3
answers119
viewsA: How do you not display repeated JAVA values
Hello, you can convert into a stream and use the method distinct to "filter" the repeaters. import java.util.Arrays; public class MyClass { public static void main(String args[]) { String[] array =…
-
0
votes1
answer34
viewsA: Manual Spring Boot Paging with Criteria
You can set where the query begins and ends on the basis of Pageable. query.setFirstResult(pageable.getOffset()); query.setMaxResults(pageable.getPageSize()); Link: JPA Pagination -…
-
-1
votes1
answer24
viewsA: How to show a message when no jradiobutton is selected?
The method isSelected returns a Boolean, he returns false if not selected, then: private void clickEvento(java.awt.event.ActionEvent evt) { if (jrbJavaSwing.isSelected()) {…