1 2 3 4 5 > >>   Sort: Rank

'native2ascii' - Native-to-ASCII Encoding Converter
This chapter provides tutorial notes on the native-to-ASCII encoding converter 'native2ascii'. Topics include 'native2ascii' command options, default encoding CP1252 used by 'javac', converting UTF-8 characters into \udddd Unicode code sequences, converting \udddd sequences back to native encodings.
2020-09-20, 4958👍, 59💬

💬 2020-09-20 ff: -~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[];Ì= (ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+([ ].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ó+ ó]+(!''+'...

💬 2020-09-17 stef: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-09-17 d: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-09-15 asd: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-09-10 die: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

(More comments ...)

'native2ascii' - Encoding Converter Command and Options
This section describes the native-to-ASCII encoding converter 'native2ascii' and its options. Non-ASCII characters in a Java source file must be converted into \udddd Unicode sequences before giving it to the Java compiler.
2020-09-17, 2427👍, 21💬

💬 2020-09-17 Sharan: Great place to work

💬 2019-12-18 sdad: Concernant l’entité susmentionnée, veuillez noter que les informations suivantes ont été mises à jour dans nos systèmes

💬 2019-12-18 Axel: Hello

💬 2019-03-23 cc: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-03-17 jack: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

(More comments ...)

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), which contains the HotSpot 1.8 JVM, on a Windows XP system. A simple Java program was entered, compiled, and executed with the new JDK installation.
2020-06-28, 69099👍, 51💬

💬 2020-06-28 bipu kumar: i need it

💬 2020-04-24 R Z: OK

💬 2020-04-16 Kanna: Thanks!

💬 2020-03-31 nasaki: ok

💬 2020-03-30 nishi: thnks

(More comments ...)

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, ...
2020-06-23, 6596👍, 7💬

💬 2020-06-23 Syahfiqah: done

💬 2020-06-23 Nurul ammar hani: Done

💬 2020-06-23 shahmir: done

💬 2020-06-23 Raizul Razali: Can gain more knowledge from this. So meaningful.

💬 2020-06-23 Zachary: Done

(More comments ...)

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.
2020-06-23, 14713👍, 6💬

💬 2020-06-23 Najwa Khairina: Very helpful..thank you so much

💬 2020-01-21 samso: Thanks for this wonderful blog that you have designed in this page. Very informative and effective article. Ver inspired article...

💬 2017-09-05 jack: good

💬 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

JIMAGE - Java Image File Format
This section describes the Java image, JIMAGE, a special file format used to store class and resource files of multiple Java modules to support custom JRE.
2020-06-17, 130👍, 1💬

"jshell> /edit" - Editing Code Snippet
This section provides a tutorial example on how to start the editor to enter and change a long code snippet in 'jshell'.
2020-06-11, 166👍, 2💬

💬 2020-06-11 Herong: Tarun, what platform are you using?

💬 2020-06-11 Tarun Teja: unable to edit my snippet

"native2ascii -encoding" - UTF-8 to \udddd Conversion
This section provides a tutorial example on how to convert UTF-8 character strings to \udddd Unicode code sequences with the 'native2ascii -encoding' command.
2020-05-08, 834👍, 3💬

💬 2020-05-08 دد: سلام

💬 2019-03-25 gg: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-02-18 What: &lt;script>alert("hii")&lt;/ script>

Running EncodingSampler.java with CP1252 Encoding
This section provides a tutorial example on how to run the character encoding sample program with CP1252 encoding for character value range of 0x0000 - 0x00FF.
2020-04-29, 118👍, 1💬

Downloading and Installing JDK 1.8
This section describes how to download and install Java SE Development Kit (JDK) 8u45 on a Windows system.
2020-04-27, 11549👍, 9💬

💬 2020-04-27 ema: thanks

💬 2020-04-27 ema: thanks

💬 2020-04-27 ema: thanks

💬 2019-04-16 yacine: thanks

💬 2017-10-09 Ivan: Thanks!

(More comments ...)

Two Types of "import" Statements
This section describes two types of 'import' statements: Single Type Import and On-Demand Type Import. 4 sample Java source files are provided to test 'import' statements.
2020-02-06, 610👍, 2💬

💬 2020-02-06 Herong: Abuja, “wildcard” import is called on-demand import.

💬 2020-02-02 Abina: there are two type of import 1.specific 2.wildcard the Specific is select and import one from API the second wildcard select all...

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.
2020-01-28, 11882👍, 25💬

💬 2020-01-28 Herong: Bing, see Generating Private Keystutorial on how to creat JKS files.

💬 2020-01-24 BingLi224: how to create .jks certificate file correctly?

💬 2017-09-20 Herong: Sandeep, you need to create a server certificate in a .jks file first.

💬 2017-09-08 sandeep kumar shukla: I am getting following error while I run the servier program. java.io.FileNotFoundException: herong.jks (The system cannot find ...

💬 2016-09-21 Test: Hello. How are you?

(More comments ...)

main() Method - Java Execution Entry Point
This section describes the Java program entry point, the main() method of the starting class. Command line arguments are passed as an string array parameter to the main() method.
2020-01-21, 367👍, 2💬

💬 2020-01-21 samso: Thanks for this wonderful blog that you have designed in this page. Very informative and effective article. Ver inspired article...

Printable Copy - PDF Version
Information on how to obtain the PDF version of this book for printing.
2019-12-05, 2286👍, 10💬

💬 2019-12-05 Mpono: Thanks a lot

💬 2018-06-09 Herong: Sake, I think you can create a good MP3 Player with Java Swing.

💬 2018-06-02 sake: It can make advanced mp3Player whith java swing?

💬 2018-05-12 george: java

💬 2016-03-22 Herong: Keval, I will try my best. ☺

(More comments ...)

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().
2019-11-14, 7423👍, 2💬

💬 2016-07-10 bfssd: Meaningful comments

Downloading and Installing Java DB (Derby)
This section describes how to download and install Java DB (Derby database server) 10.11 - free for evaluation.
2019-10-22, 10091👍, 12💬

💬 2019-10-22 mahdi: very good

💬 2019-06-17 Thet: Thanks

💬 2019-01-25 denzel mana-ay: putangina mo wala akong makita

💬 2018-05-10 Anonomyus: tanks

💬 2016-02-19 Ali: Good App

(More comments ...)

Digital Signature Algorithm and Sample Program
This chapter provides tutorial notes and example codes on digital signature. Topics include algorithm and steps of signing a document; algorithm and steps of verifying a signature; digital signature generation and verification sample programs; sample signatures of SHA1withRSA and SHA1withDSA algorit...
2019-09-24, 932👍, 3💬

💬 2016-12-15 vijay: thanks

Java 8 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...
2019-09-07, 326👍, 1💬

💬 2019-09-07 Venmo: Very helpful. Thanks!

What Is Key Encoding?
This section describes private and public key encoding standards: PKCS#8 is used for encoding private keys and X.509 is used for encoding public keys.
2019-07-24, 687👍, 1💬

💬 2019-07-24 Vivek: yo sup

Downloading and Installing JDK 10
This section describes how to download and install JDK 10 on a Windows system.
2019-06-17, 55803👍, 50💬

💬 2019-06-12 sothea: Java is good

💬 2019-05-13 Myo Nyein: don't know

💬 2019-05-13 Myo Nyein: good

💬 2018-12-23 Thin Ga Ha: Very good

💬 2018-10-22 Chirag: Very good

(More comments ...)

"java --list-modules" - Listing Modules in JDK
This section provides a tutorial example on how to use 'java --list-modules' command to list all modules included in the JDK installation.
2019-06-01, 2352👍, 4💬

💬 2019-06-01 Herong: Klaus, it's probably getting them from the C:\Program Files\Java\jdk-10.0.1\lib\modules file. But you can also see a list of mod...

💬 2019-05-24 Klaus: Hi, where does this command get the modules? What is the file they lie in? I'm using CentOS

💬 2019-02-19 Herong: Felix, Thanks for pointing out the typo! It will corrected in the next update.

💬 2019-02-14 felix lee: The line "C:\herong>javac --list-modules" should be "C:\herong>java --list-modules". s/javac/java/

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.
2019-05-13, 1529👍, 3💬

💬 2019-05-13 Myo Nyein: thanks

💬 2016-03-10 sudha: thanks

💬 2015-09-22 ram: no

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...
2019-01-01, 2146👍, 1💬

💬 2018-06-17 Jack: It's helpful!

Using java.net.HttpURLConnection to Send SOAP Messages
This section describes steps to follow if you want to use the java.net.HttpURLConnection class to send out a SOAP XML message.
2018-12-21, 39109👍, 13💬

💬 2018-12-21 Herong: RAS, Yes. That's a good example on sending a file as a SOAP attachment. I thought you were looking for example on sending files ...

💬 2018-12-18 RAS: Thanks Dr. Herong for your reply. I've gone through the link you've shared but in that way, there's no way to pass other paramet...

💬 2018-12-18 Herong: RAS, Sending (or uploading) files from a client depends what how the server want to receive them. If the server support multipar...

💬 2018-12-17 RAS: Thanks Dr. Herong for the link but I'm not able to convert it to a sample codeset. Can you help me with it?

💬 2018-12-16 Herong: RAS, if you want to send a file with HTTP POST method, check RFC 1867 - Form-based File Upload in HTML.

(More comments ...)

1 2 3 4 5 > >>   Sort: Rank