XML Tutorials - Herong's Tutorial Examples
This free XML tutorial book is a collection of notes and sample codes written by the author while he was learning XML himself, an ideal tutorial guide for beginners. Topics include DOM, DTD, J2SDK, Java, SAX, Syntax, Templates, XML, XPath, XSD, XSL, XSLT, XSL-FO. 2017-08-05, 3550👍, 2💬
java.util.Locale - Localization and Internationalization
This section provides a tutorial example on how to use java.util.Locale class to verify the default locale and list all supported locales. A locale is an identification of a combination of human language and country. 2016-12-19, 4159👍, 3💬
LambdaCalculator.java - Lambda Expression Example
This section provides a tutorial example on using an lambda expression to define a class anonymously implementing a single abstract method interface. An anonymous class and a local class are used as comparisons. 2016-12-17, 320👍, 1💬
Printing Histogram of Java Object Heap
This section provides a tutorial example on how to print the histogram of Java object heap, a list of different types of objects and their counts and total sizes. 2016-12-14, 1218👍, 2💬
java.util.PropertyResourceBundle - Resource Bundles as Properties Files
This section provides a tutorial example on how to create resource bundles (localization key names with their localized text messages) as properties file for the java.util.PropertyResourceBund leconcrete class. 2016-11-25, 198👍, 1💬
SimpleStringBuffer - My Implementation of String Buffer
This section provides a tutorial example on how to implement a simple string buffer class similar to the StringBuffer class included in the java.lang package. 2016-11-15, 129👍, 1💬
HttpsHello.java - HTTPS Server Test Program
This section provides a tutorial example on how to write a HTTPS server test program, HttpsHello.java. It writes back a simple Web page using the HTTPS protocol. 2016-09-21, 8829👍, 21💬
Option '-d' - Specifying Output Directory
This chapter describes the Java compilation tool 'javac'. Topics include listing of 'javac' options, specifying class path with '-classpath', specifying source path with '-sourcpath', processing 'import' statements, generating debugging information with '-g'. 2016-09-18, 150👍, 1💬
Java Swing Tutorials - Herong's Tutorial Examples
This free Java Swing tutorial book is a collection of notes and sample codes written by the author while he was learning Java Swing himself. It can be used as a tutorial guide for beginners or a reference book for experienced developers. Topics include AWT, button, Chinese, component, event, frame, ... 2016-09-04, 1593👍, 1💬
java.time.Instant - Get(INSTANT_SECONDS) Error
This section provides a tutorial example showing an unexpected error, Invalid value for InstantSeconds, when trying to call the get(ChronoField.INSTANT_SECOND S)method. 2016-08-03, 301👍, 2💬
javax.swing.event.MenuListener - Menu Listener Interface
This section provides a tutorial example on how to use javax.swing.event.MenuListener ,menu listener interface, to catch events fired by JMenu objects. 2016-08-02, 1043👍, 3💬
showInternal*Dialog() - Displaying Internal Dialog Boxes
This section provides a tutorial example on how to use the static methods, showInternal*Dialog(), to create and display internal dialog boxes inside an parent container. 2016-07-19, 1867👍, 3💬
SslSocketClient.java - SSL Client Socket Example
This section provides a tutorial example on how to write a sample program to create a SSL client socket to connect to a SSL server socket. The connection will fail if the server's certificate is self-signed. 2016-06-10, 10313👍, 3💬
SSL Client Authentication Test Result
This section provides the test result of running the SSL server program and the SSL client program. The result shows that the server and the client authenticated each other's identity correctly. 2016-05-11, 423👍, 2💬
SSL Client Authentication
This chapter provides tutorial notes and example codes on SSL client authentication. Topics include introduction to SSL client authentication; creating server and client certificates; writing server and client test programs; running SSL client authentication tests. 2016-03-30, 192👍, 1💬
This section provides a quick description of the Services Console and a tutorial example on how to l...
Want to know when is the 2017 Chinese New Year day? Looking for Chinese calendars for 2017? Chinese ...
This chapter provides tutorial examples and notes about DES algorithm implementation in Java languag...
This section provides a tutorial example on how to use the 'keytool -export' command to export certi...
This cryptography tutorial book is a collection of notes and sample codes written by the author whil...