Do you know this example tricks?

JavaScript Tutorial / HTML Tags

Image border

C# Tutorial / File Directory Stream

Creating Subdirectory and Manipulating File

C# / Development Class

Create a StringBuilder class using the specified string

Java / Swing JFC

BevelBorder

Oracle PLSQL Tutorial / Query Select

Deal with NULL with NOT IN and NVL

Perl / Array

Reducing the number of elements to 6

Python Tutorial / Buildin Function

Group of Executable Statements

C++ / Algorithm

Search first subrange

C++ Tutorial / STL Algorithms Iterator

Insert_iterator from vector

C# / Data Types

Introduce string

Java Tutorial / 2D Graphics

TexturePaint with BufferedImage

Oracle PLSQL / Numeric Math Functions

ROUND(Number,-1)

Sample Android Codes

Android / File

Make a direct NIO ByteBuffer from an array of bytes

Android / UI

Diary app

Android / Core Class

Using Contact

Android / Core Class

Set and get tag

Android / Media

Get Duration Of Sound

Android / Date Type

A very fast and memory efficient class to encode and decode to and from BASE64 in full accordance with RFC 2045 br

Android / Date Type

Format Millis Into Human Readable

Android / Network

Widget Service

Android / Network

Convert a byte array to a URL encoded string

Android / File

Delete a file and create directory

Android / Game

Compute the magnitude (length) of a vector

Android / Date Type

Normalise Whitespace

Sample C# Codes

C# / Class Interface

Four layers of class hierarchy

C# / WPF

List box that uses data binding to populate the list box items

C# / Class Interface

Field Attributes

C# / Development Class

Registry LocalMachine

C# / Collections Data Structure

Call GetLength for two dimenional array

C# / WPF

Set Text value for TextBlock

C# / Collections Data Structure

StringComparer OrdinalIgnoreCase

C# / XML LINQ

XElement SetAttributeValue sets the value of an attribute, adds an attribute, or removes an attribute

C# / Language Basics

Using namespace

C# / Development Class

FindExecutable

C# / Data Types

Substring demo

C# / WPF

FormatConvertedBitmap DestinationFormat=Gray4

Sample Java Codes

Java / Language Basics

Logging Levels

Java / Development Class

Random double type number

Java / Collections Data Structure

Comparator uses a Collator to determine the proper, case-insensitive lexicographical ordering of two strings.tx

Java / Swing JFC

An application and an applet

Java / Swing JFC

Better way to set the selection

Java / Language Basics

Detect evenodd number with the modulus operator

Java / PDF RTF

Generates a simple Hello World PDF file

Java / SWT Jface Eclipse

Resize columns as SWT table resizes

Java / JPA

Removing With Relationships

Java / Velocity

This is a toy demonstration of how Velocity can use an externally configured logger

Java / Language Basics

Bitwise AND (&)

Java / Collections Data Structure

History Map

Purposes of this site

Includes detail codes for any language desired for beginners

  • Benefits
  • C#
  • Java
  • Andorid
  • Xml
  • Databases

Quick and simple examples suitable for everyone


The content of the site is updated from time to time. Does not require membership. It is prepared for students to assist in the fields of computer engineering and software engineering.