<< < 1 2 3 4 >   Sort: Rank

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, 713👍, 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, 779👍, 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, 547👍, 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, 1104👍, 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, 192👍, 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...

Downloading and Installing Java DB (Derby)
This section describes how to download and install Java DB (Derby database server) 10.11 - free for evaluation.
2016-02-19, 4019👍, 9💬

💬 2016-02-19 Ali: Good App

💬 2016-02-02 kotyba: very nice

💬 2016-02-02 kotyba: thanks

💬 2015-10-30 govind: super

💬 2015-08-29 memo: thanks

(More comments ...)

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, 701👍, 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, 339👍, 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"

Type Casting Compile and Runtime Error
This section provides a tutorial example on compilation time casting error and runtime casting exception.
2016-02-15, 105👍, 1💬

Integer Data Types
This section describes value ranges and storage space sizes of integer data types: byte, short, int, long and char.
2016-02-15, 180👍, 1💬

💬 2016-02-15 Merit Campus: You can clear many of your doubts regarding data types in Core Java through Merit Campus, visit: http://java.meritcampus.com/cor...

Detecting Java Thread Deadlocks with 'jstack'
This section provides a tutorial example on how to detect Java thread deadlocks with the thread stack trace dump tool, 'jstack'.
2016-02-01, 1183👍, 0💬

SwingHello.java - My First Swing Program
This section provides a tutorial example on how to a simple Java Swing program. SwingHello.java is my first Swing program that displays a blank window with 'Hello world!' in the window title bar.
2016-01-27, 7507👍, 2💬

💬 2016-01-27 Herong: Neha, you can just put the following line into your batch file and run it: java -cp . SwingHello

💬 2016-01-26 neha: how to run above program through windows batch files

'com.sun.management.jmxremote.port' - JMX Agent for Remote Connection
This section provides a tutorial example on how to turn on the out-of-the-box JMX agent on Sun JVM for monitoring tool 'jconsole' to connect from remote machines.
2016-01-13, 2056👍, 1💬

💬 2016-01-13 vetri: Good

Java Tools Tutorials - Herong's Tutorial Notes
This free book is an excellent tutorial book for beginners. It is a collection of notes and sample codes written by the author while he was learning Java tools himself. Topics include java, javac, jar, jdb, jar, javap, keytool, jconsole, jps, jstatd, jstat, jinfo, jmap, jhat, jstack.
2016-01-12, 3798👍, 1💬

💬 2016-01-12 ASHIS BEHERA: IT IS VERY GOOD

javax.swing.JFileChooser - File Chooser Dialog Box
This section provides a tutorial example on how to use the javax.swing.JFileChooser class to create a file chooser dialog box for the Open command and the Save command.
2016-01-03, 1740👍, 8💬

💬 2016-01-03 Travis: Hello thanks, Yea I fixed the problem with the forgotten import I should have known better just having a problem with the filein...

💬 2015-12-31 Herong: Travis, May be you forget to import the IO package. The "underline in red" means class definition is missing. Try to add the fol...

💬 2015-12-31 Travis: Missing import.java.io was the problem thanks everyone

💬 2015-12-30 Travis: Value is just a string , String rootDir; still have been playing around with it and can't seem to get it going , very odd:(

💬 2015-12-30 Ken: @Travis, what is the value of "rootDir"? Looks like you are trying to get an inputstream on a directory, not a file.

(More comments ...)

Drawing Graphics - Using paint() on Content Pane
This section provides a tutorial example on how to override the paint() method in the javax.swing.Component class to draw graphics (a rectangle) and use it as the content pane of the frame window.
2015-12-28, 857👍, 2💬

💬 2015-12-28 Herong: Kenny, I agree with you. We should be able to draw directly on the default content pane. But we need to find a way to override i...

💬 2015-12-27 Kenny: But I see that this replaces the JFrame's default content pane with a new component? :/ I thought I *could* draw directly unto a...

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, 697👍, 1💬

💬 2015-12-12 Adil: Good work

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, 4703👍, 1💬

💬 2015-11-25 thakur: nice

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

💬 2015-08-10 mike: Cool

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, 3778👍, 6💬

💬 2015-11-20 Herong: Philip, can you run HttpsHello server with SSL debug turned on? My test programs do have issues with newer build of JDK 1.7 and ...

💬 2015-11-19 Philip: java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11,...

💬 2015-11-19 Herong: Philip, which JDK version are you using?

💬 2015-11-18 Philip: I changed the code, but then reset back to the example. I recreated the jks a few times. The JVM and OS had not changed. It stop...

💬 2015-11-18 Herong: Philip, Was anything changed? Certificates, code, JVM or operating system...

(More comments ...)

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, 214👍, 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, 371👍, 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, 239👍, 1💬

SslContextTest.java - javax.net.ssl.SSLContext Class Test
This section provides a tutorial example on how to write a simple program to test the java.net.ssl.SSLContext class.
2015-10-28, 299👍, 1💬

<< < 1 2 3 4 >   Sort: Rank