I would like to add a database to it so that the information is stored.
I'm making a game in Java Swing. Every time the player levels up I display a new frame on top of the one containing the gameplay which has some options on what
I'll appreciate some help with this please. Assuming I have "bookingId": 4, "flights": [ { ... "fl
I am using Spring Boot, Bitnami/Keycloak:latest, java 11. I want to get the group and group attributes before the request reaches the controller because I need
What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause
How can I make a field name have a period in it? Why? Because this eventually gets translated into JSON that is passed to a service, and the field needs to have
I am sending text to an input field then within the array of elements searching for specific by checking if element text equal street address As you can see i
I have java library that I created which implements AOP using AspectJ runtime and AspectJ maven plugin. The AspectJ point cut is getting triggered when I add th
I'm trying to change the VAT rate of an item depending if it's a luxury item or not. I've tried using an if inside of my set method but it only uses the pre-set
I'm trying to get the N smallest numbers (given by the user) in an array without using methods like sort()... in the last step, I keep getting only the smallest
today, i update to bumblebee android version, and i create new project and i import some lib, include dagger-hilt. in build.gradle (module) i insert: plugins {
App crashes at runtime with the following error : java.lang.IllegalArgumentException: maa.abc: Targeting S+ (version 31 and above) requires that one of FLAG_IM
I have a problem with modifying data while setting database replication Before DB replication, I get data that I want to modify using repository.findById() and
Imagine a scenario where a task can be divided into sub-tasks, each of which does some long running process. Assuming that this heavy task occurs only in 5/100
I downloaded the app to the IP camera phone and I want to get the video via opencv,but it gives an error public class Main { static {System.loadLibrary(Core
I am trying to keep up with the new changes in Java, one step a time. I am updating my old libraries with module-info.java files. I have a very simple project n
I am using postgres DB and i have table with two column name and sal . name Sal Raunak 10000 Raunak 5000 Rahul 500 Raunak 300
If end user not send query parameter then i want to return a message like: return Response.status(500).entity("If you wish to download whole offerings data send
Deserializing object using FastJson with putDeserializer leads to StackOverflowError. What am I doing wrong? test.json { "openapi": "3.0.1", "info": { "
In a huge project with tens of thousands of Java files there are a couple of Java classes where developers may pass in strings as parameters to a constructor cl