As we all know, we write multi-threaded, they often must Extends Thread to achieve a thread through the coverage Run () to rewrite start () method, in many cases, we may also use implements Runnable to achieve a line way, what are their differences?
Let's look at an…
As a simple Java types can not carry out precision floating-point computation of this type tools provide accurate floating-point operations, including addition and subtraction and multiplication and division rounding.
Import java.math.BigDecimal;
(Public…
JAAS (Java Authentication and Authorization Services)
In simple terms that deal specifically with authentication (authentication) and the competence of control (authorization) has been incorporated into standard services j2sdk 1.4 officially become a standard security module …
The snow scenes we may not unfamiliar, we still use VB to make it a snow scene. In fact, the production of such a snow scene is not complicated, it is the principle of first in the black for the background color on the screen were randomly drawn many white dots (snowflakes), and then…
VB create cool personalized menu (2)
In fact, the interface is beautiful "painting out" from the menu of course, is no exception. …
'In the form
Option Explicit
Private Sub Form_Load ()
Dim ret As Long
'Records of the original window procedure Address
PreWinProc = GetWindowLong (Me.hWnd, GWL_WNDPROC) …
VB create cool personalized menu (1)
As we all know, MS Office 2003 has been around for some time, but we still will not forget the recently launched Office XP, its refreshing menu left…
There are many programmers do not understand the DoEvents function in VB. DoEvents function can be temporarily returned to controller to the operating system, and allow it to complete other possible incidents.