Recent Posts
-
How to parse large (50 GB) XML files in Java
At present, I try to use a Sax parser, but about 3 / 4 through the file, it is completely frozen, I have tried to allo…… -
How do I use java to capture selected screens from other applications?
We are trying to develop a screen capture utility How do we use java to capture the selected screen of another applica…… -
Close resultset in Java 7
See English answers > must JDBC resultsets and statements be closed separately although the connection is closed af…… -
How to get datasource or connection from JPA2 entitymanager in Java EE 6
I have a working application that I use Java EE 6 with eclipse link persistence and a PostgreSQL database For user reg…… -
Connect some in Java Txt file [closed]
I have some Txt file I want to connect them and generate a text file How will I execute in Java? file1.txt file2.txt C…… -
Java – where does velocity search for templates?
I need to use velocity from Java code in my web application (I use it as a mail template processor) So I have a standa…… -
Java – spring boot swagger custom swagger UI html
I encountered a problem migrating the war application to the spring boot jar application I am using spring boot 1.4 1 …… -
Java – the best way to avoid duplicate code if two classes extend different classes
I'm developing an Android project and I'm facing this situation I have two classes: class A extends B { openDoor(){ /…… -
Java – an instance of an abstract class
See English answer > interview: can we instantiate abstract class? 15 public abstract class AbstractClassCreationTe…… -
What are the security implications of deserializing untrusted data in Java?
Can I safely deserialize untrusted data if my code has no assumptions about the state or class of the deserialized obj…… -
Java – log4j2 why log4j?
I must miss something, but now I've been watching it for a few days, but why can you use log4j2 (not performance) befo…… -
Java – change string constants in compiled classes
I need to change the string constants in the deployed Java program, that is, compiled Class file It can be restarted, …… -
Java error when combining Lambdas and multiple catch clauses?
import java.io.*; import java.io.*; import java.net.*; public class Test { …… -
Java – if called in the synchronization method, thread. Will yield() lose the lock of the object?
I understand thread currentThread(). Yield () is a notification thread scheduler that can assign CPU loops to other th…… -
Java – how to implement batch processing using mybatis / spring?
I want to know how to use mybatis 3& amp; Spring 3? For example, this is what is being done now: spring. xml: <…… -
Java – use GlassFish / Metro to simulate the problem of WCF secure web server
I'm trying to build a GlassFish hosted web service (for development and testing) and a WCF hosted web service I have t…… -
Why does this exceed the 65535 byte limit in Java constructors and static initializers?
Disclaimer: I realize that I can generate this at Java runtime. When testing some code, I need a very special case I f…… -
Android custom control making button showing progress
Recently, I saw that some applications do not pop up an additional progress bar when downloading files, but use the bu…… -
Detailed introduction to Android oncreate() method
Oncreate () method is one of the most common methods in Android applications, so what should we pay attention to when …… -
Android custom View imitation Alipay sesame credit score dial
Let's take a look at the screenshot of IOS's Sesame credit score This is what I did. There is still a gap Realization …… -
Summary of common methods of canvas in Android
1、 Operate on canvas A series of operations on canvas refer to the operations such as rotation, translation and zoom …… -
Method for generating fillet image using roundedbitmapdrawable
dynamic Generate circular picture Since the roundedbitmapdrawable class does not directly provide a method to generate…… -
Detailed explanation of demo example of Android imitation wechat memory cleaning chart animation (solving the problem of surface view screen flicker)
Recently, I received a project, in which there is a function to clean up memory, which requires the same effect as wec…… -
The color of Android custom status bar is consistent with the color of APP title bar
Every time I look at an application on IOS, the color of the status bar in the application is always consistent with t…… -
Android sensor — detailed explanation and use of light sensor
Android devices have many sensors, one of which controls the brightness of your screen. When you use your phone in a d…… -
Method of making round head portrait using circleimageview and cardview in Android
Round avatars are very common in our daily apps because they are more beautiful The method of using circular pictures …… -
Android QQ login interface drawing code
First look at the renderings: First, several problems encountered in the process: 1. Customize the background of EditT…… -
Implementation method of floating actionbutton developed by Android
1、 Introduction This class inherits from ImageView, so we can use all the properties of ImageView for this control 2…… -
Android high imitation wechat dialogue list sliding deletion effect
preface Those who have used wechat know that the sliding deletion effect of wechat dialogue list is very good. We can …… -
Customgridlayout of Android custom ViewGroup (I)
I wrote two articles about custom view before. This article talks about the implementation of custom ViewGroup. We kno…… -
Android realizes the fade in and fade out animation effects in the game
1. Realize the fading animation It can be implemented in the program in the following ways Of course, it can also be i…… -
Android development and implementation with rebound effect. Detailed explanation of IOS rebound Scrollview tutorial
First of all, let's take a look at the renderings of our final implementation today: This is the rebound effect in IOS……