How to close the program in Java completely in Swing

A Java Swing application can be closed using the following code segment to retrieve the parent of the container, check if it is a JFrame and then dispose the JFrame:

public class btnCancelListener implements ActionListener { public void actionPerformed(ActionEvent ev) { Container bframe = btnCancel.getParent(); bframe = bframe.getParent(); while (! (bframe instanceof JFrame)) { System.out.println(“Done”); . . . → Read More: How to close the program in Java completely in Swing

Encrypting a container file using dm-crypt / cryptsetup instead of TrueCrypt

Encrypting a container file using dm-crypt / cryptsetup instead of TrueCrypt There are many users who use TrueCrypt (http://www.truecrypt.org) to encrypt our data backups for added security. To us, TrueCrypt was one of the best tools available. However, with the latest update on the TrueCrypt website, the developers have stated that those using TrueCrypt should . . . → Read More: Encrypting a container file using dm-crypt / cryptsetup instead of TrueCrypt

January 2019
M T W T F S S
« Sep    
 123456
78910111213
14151617181920
21222324252627
28293031