LookAndFeel and UIManager
This chapter provides tutorial notes and example codes on UI look and feel. Topics include introduction of javax.swing.LookAndFeel and javax.swing.UIManager classes; example programs on how to manage UI look and feel. 2015-12-12, 863👍, 1💬
Generating Client Side Stub Java Code
This section provides a tutorial example on how to run WSDL2Java to generate client side stub Java code from an existing WSDL document. The generated stub class will have a package name borrowed from the target namespace of the Web service. 2015-11-25, 5464👍, 1💬
"keytool" Commands and "keystore" Files
This chapter provides tutorial notes and example codes on the 'keytool' command. Topics include introduction of public key certificates, 'keystore' file, 'keytool' command; generating new keys and self-signed certificates; exporting and importing certificates; cloning certificates to share keys. 2015-11-23, 2887👍, 3💬
HttpsClient.java - HTTPS Client Test Program
This section provides a tutorial example on how to write a HTTPS client test program, HttpsClient.java. It sends a simple HTTP request page using the HTTPS protocol. 2015-11-20, 4355👍, 6💬
Synchronization Technique and Synchronized Code Blocks
This chapter provides tutorial notes and tutorial examples on synchronization technique and synchronized code blocks. Topics include what is the synchronization technique; synchronized class methods, instance methods, statement blocks; synchronized banking application sample. 2015-11-13, 218👍, 1💬
setMnemonic() - Setting Keyboard Mnemonics on Menu Items
This section provides a tutorial example on how to use setMnemonic() method to associate mnemonics to menu items. Mnemonics allows user to interact with menu items using keys on keyboard. 2015-11-10, 380👍, 1💬
Option Dialog Boxes
This chapter provides tutorial notes and example codes on option dialog box. Topics include creating and displaying message, confirmation, input and option dialog boxes; receiving input values from option dialog boxes; creating and display internal dialog boxes; creating option dialog box directly. 2015-11-02, 253👍, 1💬
Cipher - Secret Key Encryption and Decryption
This chapter provides tutorial notes and example codes on the cipher process. Topics include the cipher process - data encryption and decryption; the cipher class, javax.crypto.Cipher; the cipher sample program and test results with Blowfish and DES encryption algorithms. 2015-10-13, 176👍, 1💬
"Unexpected subelement ..." Error from the Stub Class
This section provides a tutorial example on how to troubleshoot and resolve the 'Unexpected subelement ...' error occurred in the stub class. The root cause of the error is the namespace on sub elements of the response SOAP Body does not match what defined in the WSDL document. 2015-10-10, 2141👍, 5💬
Message Digest Algorithm Implementations in JDK
This chapter provides tutorial notes and example codes on message digest algorithm implementation. Topics include JCA (Java Cryptography Architecture) package; java.security.MessageDigest class; MD5 and SHA message digest program; message digest output comparison. 2015-10-06, 155👍, 2💬
"keytool -export/import" - Exporting and Importing Certificates
This section provides a tutorial example on how to use the 'keytool -export' command to export certificates out of a 'keystore' file. The 'keytool -import' command can be used to import certificates into a 'keystore' file. 2015-08-15, 21380👍, 1💬
SocketRequestResponse.java - Socket Client Testing Program
This section provides a tutorial example on how to write a Java program using socket interface to send a request and receive a response in binary mode. 2015-08-01, 1651👍, 2💬
SocketRequestResponseServer.java - Socket Server Testing Program
This section provides a tutorial example on how to write a socket level server side testing program to receive and record request received from a client program. 2015-08-01, 714👍, 2💬
Table of Contents
This free book is a collection of tutorial notes and sample codes written by the author while he was learning JDK (Java Development Kit) himself. Topics include Blowfish, Calendar, certificate, character set, cipher, client authentication, collections, datagram, Date, decryption, DES, digital signat... 2015-07-18, 219👍, 0💬
This free book contains Herong's notes and tutorial examples on Chinese GB2312 character set. It pro...
Want to know when is the 2017 Chinese New Year day? Looking for Chinese calendars for 2017? Chinese ...
This section describes how to load the JDBC-ODBC Bridge driver class with the Class.forName() method...
This section provides a tutorial example on how to perform validation of a certificate path with the...
This section describes a tutorial on how to play DAT files directly with Windows Media Player.