Java Tutorials

111. Report Sections in JasperReports

By: MakeItSimple. : 2008-09-02

Description: When building a report design we need to define the content and the layout of


112. Using Charts in JasperReports

By: MakeItSimple. : 2008-09-02

Description: JasperReports now has built-in support for charts. There is a new chart component ready to use like we already had images, text fields, subreports and other elements.


113. What is UTF-8?

By: Markus Kuhn : 2008-08-13

Description: UCS and Unicode are first of all just code tables that assign integer numbers to characters. There exist several alternatives for how a sequence of such characters or their respective integer values can be represented as a sequence of bytes. The two most obvious encodings store Unicode text as sequences of either 2 or 4 bytes sequences. The official terms for these encodings are UCS-2 and UCS-4, respectively. Unless otherwise specified, the most significant byte comes first in these (Bigendian convention). An ASCII or Latin-1 file can be transformed into a UCS-2 file by simply inserting a 0x00 byte in front of every ASCII byte. If we want to have a UCS-4 file, we have to insert three 0x00 bytes instead before every ASCII byte.


114. Unicode vs ISO 10646?

By: Markus Kuhn : 2008-08-13

Description: The Unicode Standard published by the Unicode Consortium corresponds to ISO 10646 at implementation level 3. All characters are at the same positions and have the same names in both standards.


115. What is Unicode?

By: Markus Kuhn : 2008-08-13

Description: In the late 1980s, there have been two independent attempts to create a single unified character set. One was the ISO 10646 project of the International Organization for Standardization (ISO), the other was the Unicode Project organized by a consortium of (initially mostly US) manufacturers of multi-lingual software.


116. What are combining characters?

By: Emiley J. : 2008-08-13

Description: Some code points in UCS have been assigned to combining characters. These are similar to the non-spacing accent keys on a typewriter. A combining character is not a full character by itself. It is an accent or other diacritical mark that is added to the previous character. This way, it is possible to place any accent on any character.


117. What is UCS? What is ISO 10646?

By: Markus Kuhn : 2008-08-13

Description: The international standard ISO 10646 defines the Universal Character Set (UCS). UCS is a superset of all other character set standards. It guarantees round-trip compatibility to other character sets. This means simply that no information is lost if you convert any text string to UCS and then back to its original encoding.


118. What is CAVAJ Java Decompiler?

By: Freddy Ng : 2008-08-13

Description: Cavaj is a freeware utility that reconstructs java source code from CLASS files.


119. Getting current time in Java for inserting to MySQL

By: Emiley J. : 2008-04-11

Description: Quite often there is a need to get current time in Java in a specific format. I faced this issue when I had to insert the current time into MySQL. I solved it using a SimpleDateFormat class and a helper function. Here is the code.


120. Compare compareTo() function of String class with Collator and CollationKey

By: Riktesh Srivastava : 2008-04-11

Description: The tutorial aims to compare compareTo() function of String class with Collator and CollationKey of java.util package. The tutorial explains why the later is better using a example.