<< < 1 2 3 4 >   Sort: Rank

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, 175👍, 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, 3661👍, 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, 607👍, 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, 324👍, 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, 169👍, 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, 1173👍, 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, 6495👍, 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, 1700👍, 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, 3074👍, 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, 1510👍, 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, 709👍, 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, 619👍, 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, 4035👍, 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, 2324👍, 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, 3311👍, 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, 210👍, 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, 364👍, 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, 230👍, 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, 286👍, 1💬

Cipher - Secret Key Encryption and Decryption
This chapter provides tutorial notes and example codes on the cipher process. Topics include the cipher process - data encryption and decryption; the cipher class, javax.crypto.Cipher; the cipher sample program and test results with Blowfish and DES encryption algorithms.
2015-10-13, 174👍, 1💬

"Unexpected subelement ..." Error from the Stub Class
This section provides a tutorial example on how to troubleshoot and resolve the 'Unexpected subelement ...' error occurred in the stub class. The root cause of the error is the namespace on sub elements of the response SOAP Body does not match what defined in the WSDL document.
2015-10-10, 1671👍, 5💬

💬 2011-03-19 Jose Eduardo: Sorry for wasting your time, I think i got the solution... first i got the Date error because I change the order of the data ser...

💬 2011-03-19 Jose Eduardo: Yes, indeed... please, I don't know if it's a problem of wso2 cache of anything else, i've tried almost everything...

💬 2011-03-16 Herong: Jose, Are you referring to the error and fix discussed in "Unexpected subelement ..." Error from the Stub Class?

💬 2011-03-16 Jose Eduardo: I saw your article about a "bug" on the client generated code of a web service at WSDL2Java Unexpected subelement Error from Stu...

Message Digest Algorithm Implementations in JDK
This chapter provides tutorial notes and example codes on message digest algorithm implementation. Topics include JCA (Java Cryptography Architecture) package; java.security.MessageDigest class; MD5 and SHA message digest program; message digest output comparison.
2015-10-06, 154👍, 2💬

"keytool -export/import" - Exporting and Importing Certificates
This section provides a tutorial example on how to use the 'keytool -export' command to export certificates out of a 'keystore' file. The 'keytool -import' command can be used to import certificates into a 'keystore' file.
2015-08-15, 16341👍, 1💬

💬 2015-08-14 Jay: This is exactly what i was looking for... thank you...

<< < 1 2 3 4 >   Sort: Rank