Recent Posts
-
Java – dynamic proxy and exception checking
How do I make my dynamic agent throw a check exception? I need a transparent wrapper for the interface, which sometime…… -
Java – you need a way to scale fonts to fit rectangles
I just wrote some code to scale the font to fit a rectangle It starts at 18 wide and repeats until it fits It seems ve…… -
Java – how to find the arctangent of a line?
I have a line (x1, Y1) and (X2, Y2) I want to use Tan inverse to find the angle of the line. How can I do this in Java…… -
Method of operating excel with Java
This paper describes the method of operating excel with Java. Share with you for your reference. The details are as fo…… -
Multithreading – Delphi forms are created without freezing the main thread
I'm in trouble with what I want to do I have some big forms that need some time to create To make the application load…… -
Detailed explanation of HTTP communication using java
Overview of HTTP communication There are two main modes of HTTP communication: post mode and get mode. The former send…… -
Java – understanding the future / threads
I tried to use futures for the first time It looks smart. You can cancel a job, but it doesn't work as expected In the…… -
Specifying external fonts in JavaFX CSS
Can I use CSS to specify fonts in JavaFX applications? I have an fxml scenario and the corresponding CSS file In Java …… -
Java – how to add to BigDecimal
I have the following function, which iterates an array and calls a method on each 'return' object, which returns a Big…… -
Java method to determine whether a file is a binary file
This example describes the method of Java to judge whether a file is a binary file. Share with you for your reference.…… -
Java – reader #lines() is very parallelized due to the non configurable batch size policy in its splicer
When the stream source is reader, I can't achieve good parallelization of stream processing Running the following code…… -
How do I override methods in Java when I create objects through reflection?
In Java, can methods in classes created using reflection be overridden? For example, say I have the following classes:…… -
Java – abstract classes and interfaces together?
I have some code, some of which are implementing an interface It feels right, but there is a bit of repetition in chil…… -
Java implementation of sorting algorithm
Collections. sort() Java sorting can be done with collections Sort() sorting function implementation. Use collections …… -
On the single case design pattern in Java programming
When writing software, you often need to use the print log function, which can help you debug and locate problems. Aft…… -
Java – how to make dynamic JTable cells editable / non editable?
Is there any way to dynamically create non editable cells in JTable? Whenever the user gives input like false, I want …… -
Java – wicket 1.5 to 1.4
Compared with the latest version 1.4, what are the 1.5 new features of small portal? The first candidate will be annou…… -
Eclipse configuration Tomcat and JDK steps diagram
The first time I configured Tomcat and JDK for eclipse, I would encounter some problems. Xiaobian was also confused at…… -
Using XOR operator to encrypt string in Java
Through the XOR operation symbol and a specified value, the value of each character of the string can be changed, so t…… -
On parsing and generating JSON using java
JSON overview JSON, namely JavaScript object notation, is a subset of JavaScript object notation. It has the following…… -
Is there a class in Java 8 that implements “null termination” flow without scrolling?
Or is there a better way to do this? I'm missing? I want to create a vendor - based (usually unrestricted) flow, but w…… -
Java – wicket 1.5 to 1.4
Compared with the latest version 1.4, what are the 1.5 new features of small portal? The first candidate will be annou…… -
Emberjs with Java rest backend
I'm working on Java (possibly Scala) for a project that will use ember and ember data I know I can write back ends to …… -
Usage of embedded checkbox in Android MVP mode listview
MVP mode embedded in listview check@R_989_2419 @Use of This article is about how to embed a small demo in listview che…… -
In depth analysis of alarm manager usage of Android alarm service
This article describes the use of Android alarm service AlarmManager. Share with you for your reference, as follows: T…… -
Summarize the image optimization of Android App memory optimization
preface When the memory of Android devices goes to G all the time, it's really unnecessary to pay too much attention t…… -
Android checks whether the mobile phone has a method to install an application
This example describes the method of Android to check whether an application is installed on the mobile phone. Share w…… -
Analysis of problems related to playing video files in assets files on Android
This article describes the problems related to Android playing video files in assets files. Share with you for your re…… -
Implementation method of sliding switch for developing advanced custom controls for Android [with demo source code download]
This paper describes the implementation method of sliding switch for Android to develop advanced user-defined controls…… -
Android method for obtaining contact Avatar
This article describes the method of obtaining contact avatar by Android. Share with you for your reference, as follow…… -
Detailed explanation of Spinner drop-down list of Android UI components
Spinner drop-down list The diagram corresponding to this layout: Common attributes: Android: entries (specifies the st…… -
Android custom view to achieve ring alternating effect
Let's look at the renderings first: It doesn't look very dazzling, and its implementation is not very complex. The foc……