<< < 1 2 3 4 >   Sort: Rank

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, 1623👍, 3💬

💬 2016-08-02 Herong: Tony, I believe that * is a wildcard, meaning all classes in the javax.swing package.

💬 2016-07-20 tony narloch: Hi, I am curious as to what the * denotes. Is that a wildcard, or meant to any/all things associated with javax.swing?

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, 2511👍, 3💬

💬 2015-08-26 Herong: Airam, which part is not working? :-)

💬 2015-08-25 airam: this doesn't work dude

getBit() - Retrieving a Bit from a Byte Array
This section provides a tutorial example on how to get one bit back from a byte array at a specific bit position - getBit().
2016-07-10, 3747👍, 1💬

💬 2016-07-10 bfssd: Meaningful comments

PDF Printing Version
Information on how to obtain the PDF version of this book for printing.
2016-07-09, 797👍, 3💬

💬 2016-07-09 vetal: good

💬 2015-12-01 Michael Collins: Thanks

Managing JAR Files with WinZIP
This section provides a tutorial example on how to manage a JAR file as a ZIP file with the ZIP tool, WinZIP.
2016-06-10, 1135👍, 2💬

💬 2016-06-10 Herong: Jordyn, can you try to follow Test #1 mentioned in the tutorial to open a .jar file with WinZIP?

💬 2016-06-10 Jordyn: This still doesn't quite help with opening the files for me. How do you open a .jar file? :/

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, 13759👍, 3💬

getSelection() - Getting Selected Button
This section provides a tutorial example on how to use the getSelection() method to know which button is selected in a button group.
2016-06-02, 7564👍, 3💬

💬 2016-02-22 aaa: God is the greatest

💬 2016-02-22 aaa: we are here to learn

Adding META-INF/MANIFEST.MF to JAR Files
This section provides a tutorial example on how to add manifest files to JAR files.
2016-05-12, 3451👍, 1💬

💬 2016-05-12 mps: nice..

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, 553👍, 2💬

'javaw' - Launching Java Programs without Console
This section provides a tutorial example on how to use 'javaw' tool to launch a Java program without the output console window.
2016-04-27, 484👍, 1💬

setBit() - Storing a Bit into a Byte Array
This section provides a tutorial example on how to set one bit into a byte array at a specific bit position setBit().
2016-04-08, 2076👍, 1💬

💬 2016-04-08 frank: this works

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, 267👍, 2💬

💬 2016-05-11 Herong: Roman, good point. We need to compile the Java code into a class file first. Thanks.

💬 2016-05-07 Roman: you have small mistake there, it should be: With SslReverseEchoerRevised.class and... instead of: With SslReverseEchoerRevised.j...

Downloading and Installing JDK 1.8.0 on Windows
This section provides a tutorial example on how to download and install JDK 1.8.0 (Java SE 8) on a Windows 7 system. A simple Java program was entered, compiled, and executed with the new JDK installation.
2016-03-10, 1212👍, 2💬

💬 2016-03-10 sudha: thanks

💬 2015-09-22 ram: no

Java Tutorials - Herong's Tutorial Examples
This free Java book is a collection of notes and sample codes written by the author while he was learning Java himself. It covers topics related Java language core features and classes provided in the java.lang.* package: array, bit, byte, deadlock, expression, generic class, generic method, literal...
2016-03-05, 5315👍, 8💬

💬 2016-03-05 SOUMO BISWAS: YES

💬 2016-02-26 Herong: Maurice, Thanks for the positive feedback!

💬 2016-02-25 Maurice: It is a great JVM book

💬 2015-12-05 Herong: Yogesh, we need better examples than what you have suggested...

💬 2015-12-05 yogesh kumar: Visit more java examples [URL removed]

(More comments ...)

interrupt() - Method to Terminate Thread
This section provides a tutorial example on how to terminate running threads with the interrupt() method.
2016-03-02, 1778👍, 1💬

💬 2016-03-02 vinay malik: good post

Creating the First JAR File - hello.jar
This section provides a tutorial example on how to create a JAR file with the 'jar' command.
2016-03-02, 8766👍, 1💬

💬 2016-03-02 luis: algun comentario

'jar' - The JAR File Tool
This chapter provides notes and tutorials on JAR file tool, 'jar'. Topics include Java Archive (JAR) file forma, 'jar' command options, creating JAR files, managing JAR files with WinZIP, using manifest file, creating executable JAR files.
2016-02-27, 869👍, 3💬

💬 2015-06-06 svdude: Love your clear explanation of creating and using JARs. Thank you!

💬 2010-12-25 Herong: Eka, No, you can not use client's public key to sign a .jar file. Digital signature needs to be generated using your own private...

💬 2010-12-22 Eka: If i have a client's public key... can i sign a .jar using his public key to later be used only by him?

Managing Bit Strings in Byte Arrays
This chapter provides tutorial notes and tutorial examples on managing bit strings in byte arrays. Topics include setting a bit value into a byte array; getting a bit value back from a byte array; rotating all bits in a byte array.
2016-02-27, 905👍, 4💬

💬 2015-10-10 Brian: Excellent tutorials. Thanks!

💬 2006-11-19 Herong: Hi Naren, I added a section, Managing Bit Strings in Byte Arrays, to explain the getBit() and setBit() used in the DES implemena...

💬 2006-11-10 Naren: can u help me how the getbit() and setbit() implementation is done ...y ur are taken the hexadecimal no for the processing This ...

💬 2006-11-10 A visitor: hi, Your program for des is superb ......but can u help me how the getbit() and setbit() implementation is done ...y ur are take...

Downloading and Installing Java 8 on Windows
This section describes how to download and install Java 8 (Java Standard Edition Development Kit 1.8) on Windows.
2016-02-26, 963👍, 2💬

💬 2015-07-29 Herong: Sophie, I am so glad that my tutorial is helpful to you.

💬 2015-07-29 Sophie: Thank you. I have successfully installed Java jdk 1.8 using the instructions on this web page.

Bits, Bytes, Bitwise and Shift Operations
This chapter provides tutorial notes and tutorial examples on bits, bytes and bitwise operations. Topics include bits and bytes as storage units; 'byte' data type and (byte) casting; bitwise operations; shift operations.
2016-02-20, 833👍, 1💬

💬 2016-02-20 oopo: very good

Java Thread Deadlock Demo Program
This section provides a tutorial example of simple deadlock demo program, SimpleDeadLock.java, with 2 threads waiting for each other.
2016-02-20, 1423👍, 2💬

💬 2015-11-27 Herong: Rahul, I think your dump file is a correct thread dump. It provides you a list of threads in a text format. You can use any text...

💬 2015-11-26 Rahul: Hi, Thanks for nice article. when we use jstack or kill -QUIT / kill -3 to get thread dump , we always get the dump file which s...

Literal Formats for Floating-Point
This section describes 2 literal formats for floating-point values: decimal and hex floating-point literals. The default floating-point literal data type is 'double'.
2016-02-19, 297👍, 1💬

💬 2016-02-19 Merit Campus: You can clear many of your doubts regarding Literals in Java through Merit Campus, visit: [URL removed]. Not only Literals, we a...

Bitwise Operations on "byte" Values
This section describes 4 types of bitwise operations, 'And', 'Or', 'Exclusive Or', and 'Complement' that applies on 'byte' values indirectly through 'int' values.
2016-02-17, 1039👍, 1💬

💬 2016-02-17 javapadho.com: excelement expalin bitwise binary operator.. bitwise operator explain with leftshift,rightshift,rightshift with fill zero value ...

Floating-Point Data Types
This section describes value ranges and storage space sizes of floating-point data types: float and double.
2016-02-15, 432👍, 5💬

💬 2016-02-15 Herong: To Merit Campus, I have to remove links. Advertisement is not allowed in comments

💬 2016-02-15 Merit Campus: You can clear many of your doubts regarding data types in Core Java through Merit Campus, visit: [URL removed]. Not only data ty...

💬 2015-10-31 Herong: Page updated now. Thanks again, Raj.

💬 2015-10-24 Herong: Raj, good catch. It will be corrected later.

💬 2015-10-23 raj: Chief, second point should be "double" but it says "float"

<< < 1 2 3 4 >   Sort: Rank