Recent Posts
-
Multithreading – aborts the entire application from a thread in Delphi
There is a major problem with my Delphi app I'm developing a software that uses external security I am using a USB dev…… -
Java – null pointer exception error, no obvious code error
I have a mistake here. I don't know where it comes from My java course for beginners is high school, so I don't have m…… -
Java SWT makes label scrollable possible
I have a label in a group in SWT. If it contains many lines of text, I want it to scroll vertically Use SWT V_ It does…… -
Java – connect to AEM 6.0 JCR: precondition failed
I encountered some problems connecting to the JCR repository in AEM 6.0 When I reach the point about creating a sessio…… -
Java – how to use the if else statement returned by the function?
I always try to avoid nested statements They guided me to put the code in curly braces When the amount of code in each…… -
Java – flexible search with parameters returns a null value
I have to perform this flexible search query in the service Java class: select sum({oe:totalPrice}) from {Order as or…… -
Java randomization – (minus sign) and (plus sign)
Is there any way to add a plus or minus sign randomly? I have a program in which an elf moves on the screen. When you …… -
Java – what’s the difference between creating objects in these two ways?
I want to know the difference between these: 1-) JFrame frame = new JFrame(); JLabel label = new JLabel("example"); fr…… -
Java – how do I use null’s to sort a collection and then reverse the list?
So I'm using a list of dates, some of which are "" or null I used the answer how to handle nuts when using java collec…… -
Java – there is no OpenGL context in the current thread
I'm following the tutorial on youtube, but I've encountered an OpenGL problem that I can't solve I don't know how to s…… -
Java – is this abuse casting?
I have some object lists List<MyObject> But I know it is a list of objects inherited from MyObject List<Child…… -
How does this filter apply in Java 8?
First of all, I apologize for the title of the problem. I can't think of a better way to express it. If I should solve…… -
Java – when there are escape quotes or outside parentheses, separate commas outside the quotes
Can I split strings using the following criteria? for example String source = "to_char(DATE,'YYYY,MM,DD'),'I am sad :(…… -
Java split – wrong length
Why do I receive a length of 3 instead of 4? How can I solve this problem to get the right length? String s="+9851452;…… -
Java – malformed JSON: unexpected ‘<' in spring
I want to make JSON from JPA @ entity. I have @Entity @JsonAutoDetect public class Bar implements Serializable { …… -
How to use java to convert UNIX epoch columns to dates in Apache spark dataframe?
I have a JSON data file that contains an attribute [creationdate], which is a UNIX EPOC of "long" numeric type The Apa…… -
“Error response from daemon: 404 page not found” when using docker command
I encountered an error when I used the docker command Does anyone have a solution? Please help me solve this problem a…… -
Java – mybatis uses XML configuration in spring to return large results
I need to dump data from tables in Oracle to elastic search (100 million records), package com.fudy.mapper; import jav…… -
How do java – lambda expressions work with predicate?
I need more explanation about lambda expressions‘ How does' p 'mean list < person >? Can you explain clearly? Li…… -
Java – setlocation in jlabel
My task is to get the position of the mouse when I click, except for one thing: the position of the output I should ge…… -
If the specific conditions are incorrect, I can’t return anything
I'm writing a matrix class. I've written a getnumber method that returns the number in a specific slot in the matrix W…… -
JavaFX freeze problem
I'm messing with the JavaFX API. For some reason, the application seems to freeze after a (seemingly) random time It i…… -
Java – am I right? I’ve been collecting compiler errors
I'm not sure if I write correctly I checked my notes to make sure I used all the appropriate symbols, but I've been re…… -
Java – inheritance aware class for mapping to replace the ‘instanceof’ series
I'm looking for some magical class map utilities that give a type and return the value associated with that type or it…… -
How to achieve proper layer separation in xpage (that is, talking to Java objects instead of domino views and domino documents)
I am trying to implement appropriate layer separation in my xpage project Ideally, I try to reach the point where XML …… -
java. nio. file. Nosuchfileexception: why NiO did not create a file
I'm using Java nio. File package and try to create a file using the following code private static void printReport(Str…… -
How to set the JavaFX WebView to be as large as the scene?
I have a JavaFX WebView, and I want it to be as big as the scene at the beginning If I could resize the scene, it woul…… -
Java – how do I resolve an IP address or host name that contains alpha characters?
I tried to separate two different types of strings, IP address and DNS address I can't figure out how to split it My i…… -
Java – loads the fxml file located in the “SRC” Maven folder
I am developing a JavaFX 8 (Maven) project I want to store the fxml file in the source (not in the resource) folder ne…… -
Why is “” marked for Java in sonarqube
In Java, I can convert int to string by "" intvalue Why is this inappropriate As far as I know, integer ToString (intv…… -
Java – write a program to round a number to the next multiple of 10 given the following conditions?
MyApproach I created two functions in the first function, and I calculated the sum of all four numbers In the second f…… -
Java – singleton vs public static final variable
So I know that the singleton mode is implemented as follows: public class ClassName { private static ClassName ins……