Skip to main content
0 votes
0 answers
7 views

I'm looking for an explanation to why do I need to have a build.gradle in my service directory to stop the root build.gradle from treating it like a buildable project: My Directory: root: |-> ...
RogueGingerz's user avatar
0 votes
0 answers
5 views

Intro The following code implements a draw-by-brush on an image using a canvas. The Idea is to stack a Canvas object over an ImageView, draw on it, and finally render the StackPane (image + canvas) ...
Starnec's user avatar
  • 799
0 votes
0 answers
33 views

I am developing a Java application that prints receipts to a DGT POS Printer Speed Line 300-UL. The printer is connected via Ethernet (network), not USB. I want to implement a feature where the ...
Armin Brkić's user avatar
0 votes
0 answers
19 views

Im developing a app in Android using Java. When i run the app in android studio the UI does not load completely, i can see the bottom navigation and toolbar but the fragments do not load 90% of the ...
redoc01's user avatar
  • 2,527
-4 votes
1 answer
100 views

I am trying to calculate the sum of mirrored elements in an array using Java. A mirrored element pair is formed by pairing the first element with the last, second element with the second last, and so ...
SHOBANA G's user avatar
Best practices
0 votes
2 replies
37 views

I have an Entity Called CardTemplate. For physical cards, there will have to be a pattern chosen to physically print the card. And based on the two types of operations that the cards are allowed to do,...
Erfan Mirhoseini's user avatar
1 vote
0 answers
68 views

Context: I'm trying to make an app with java swing, however when trying to add a background to the Login Page, the image does not show up. It is there and moves other JComponents when adding a layout ...
MMT007_backUP's user avatar
0 votes
1 answer
47 views

I have a main activity with a button. When I press the button, a hidden SurfaceView becomes visible and an animation shows. It's working really well, but I have two problems. First, what is the proper ...
Tomas F.'s user avatar
  • 308
Advice
0 votes
4 replies
44 views

Oracle documentation mentioned it clearly. a lower bounded wildcard restricts the unknown type to be a specific type or a super type of that type. To write the method that works on lists of Integer ...
Melad Basilius's user avatar
0 votes
0 answers
16 views

I made sure the RPC URL definitely starts with wss, but Web3j still keeps fetching blocks at specific intervals instead of receiving them in real time. Do I need to call a different method? My Web3j ...
강백호's user avatar
-1 votes
0 answers
20 views

I'm working on an Android app where users can add and remove restaurants from their favourites via the RestaurantPage activity. When I access the RestaurantPage activity from the UserFavourites ...
999's user avatar
  • 9
0 votes
0 answers
36 views

i recently migrated from java17 to 21. I use logback MDC to log http request and response. each http request may lead to execute several resttemplate sync call. i use mdc to generate UUID as traceId ...
Bashir Zamani's user avatar
0 votes
0 answers
64 views

I cannot get a list of files ending with .pdf, I have tried everything, it lists everything else in the folder, except for the pdf's, what is wrong with this. The program then displays the list in a ...
Roy's user avatar
  • 9
1 vote
1 answer
49 views

I'm using Spring WebClient in my Java application to authenticate with Keycloak. The issue I'm facing is: The first WebClient request takes a long time (5-9 seconds), but all subsequent requests are ...
Anish's user avatar
  • 27
4 votes
1 answer
51 views

I am using the javax.tools.DocumentationTool to parse the Documentation of my source code base. I am using Java 17 jdk to run. It is triggering an javax.lang.model.element.UnknownElementException ...
Nap's user avatar
  • 8,378

15 30 50 per page
1
2 3 4 5
127886