Java GC Tutorials - Herong's Tutorial Examples
This book is a collection of tutorial notes and sample codes written by the author while he was learning JVM GC (Garbage Collection) processes. Topics include Java Garbage Collectors, STW (Stop-The-World), Serial Collector, Parallel Collector, Concurrent Collector, G1 Collector, GC Algorithms, Gener... 2018-06-17, 207👍, 1💬
Ethereum Tutorials - Herong's Tutorial Notes
This free book is a collection of tutorials and notes on Ethereum and blockchain. Topics include Blockchain, Ethereum, Cryptocurrency, Mining, MetaMask, Wallet. 2018-05-11, 351👍, 2💬
showOptionDialog() - Displaying Option Dialog Boxes
This section provides a tutorial example on how to use the static method, showInputDialog(), to create and display input dialog boxes to take text string input from the user. 2017-09-12, 1098👍, 3💬
JMenuTest.java - Menu Test Program
This section provides a tutorial example on how to use the javax.swing.JMenu class to create multiple menus and how to add them to the menu bar. Sub menus and menu items added to a menu will be listed vertically when the menu is selected. 2016-12-03, 336👍, 1💬
JMenuItemTest.java - Menu Item Test Program
This section provides a tutorial example on how to use the javax.swing.JMenuItem class to create menu items and add them to different menus, sub menus, or the menu bar. Sub menus and menu items added to a menu will be listed vertically when the menu is selected. 2016-11-22, 449👍, 2💬
JLabel - Swing Label Class
This chapter provides tutorial notes and example codes on JLabel class. Topics include creating label components with the javax.swing.JLabel class; creating labels with Chinese characters. 2016-11-14, 110👍, 1💬
Drawing Graphics - Using paint() on Frame
This section provides a tutorial example on how to override the paint() method in the javax.swing.JFrame class to draw graphics (a rectangle) on the frame window. This solution is not recommended. 2016-11-12, 3003👍, 2💬
JButton - Swing Button Class
This chapter provides tutorial notes and example codes on JButton class. Topics include creating button components with the javax.swing.JButton class; creating buttons with image icons; adding button action handler at the component level and the frame level; adding mouse click handler to handle butt... 2016-03-25, 579👍, 2💬
JFrame - Main Frame Class
This chapter provides tutorial notes and example codes on JFrame class. Topics include creating frames with sizes and locations; terminating program with its frame is closed; Listing AWT threads; displaying Chinese character on frames; drawing graphics on frames. 2016-03-13, 131👍, 1💬
MenuItemActionListenerTest.java - Menu Item Action Listener Test
This section provides a tutorial example on how to use java.awt.event.ActionListener, button action listener interface, to catch events fired by JMenuItem objects. 2016-01-07, 142👍, 1💬
This section describes how to download and install Java SE Development Kit (JDK) 8u45 on a Windows s...
This section describes the Base64 encoding algorithm with some simple encoding examples.
This section describes how to connect to a SQL Server 2005 through DSN with JDBC-ODBC Bridge.
Want to know when is the 2016 Chinese New Year day? Looking for Chinese calendars for 2016? Chinese ...
This section describes how to connect to a DSN (Data Source Name) with JDBC-ODBC Bridge.