Do you know this example tricks?

JavaScript Tutorial / Operators

Pre-Decrement

Perl / Language Basics

$SIG{__DIE__}

Delphi / Graphic

How to get a Bitmap of a TCheckBox

C# / LINQ

Use join key word

Java Tutorial / Swing

A typical usage of a border layout manager

Java / J2ME

Midlet Servlet 2

Java / File Input Output

Ls directory lister modified to use FilenameFilter

Delphi / Multimedia

Use Soundex to find phonetically similar names

XML / XML Schema

Requiring All Elements and Attributes Be Qualified

Java by API / Javax Swing Text

MaskFormatter; setPlaceholderCharacter(char placeholder)

Java / Data Type

Get a List of Short Weekday Names

C# Tutorial / Regular Expression

W Match zero or more word characters

Sample Android Codes

Android / Development

Abstract Running Thread

Android / 2D Graphics

Loads a bitmap from the specified url

Android / Hardware

Get net conf information

Android / Core Class

Extends SearchRecentSuggestionsProvider

Android / UI

Timing Activity

Android / File

Allocate Float Buffer

Android / Core Class

Is Storage ReadableWritable

Android / Date Type

Get short and long date String

Android / Core Class

Market Intent

Android / Core Class

Resources Management

Android / Date Type

Load 16 Bit PCM Raw Data File As Double Array

Android / UI

Using GridView

Sample C# Codes

C# / WPF

Display Bounded objects onto ListBox

C# / Development Class

Bounding Rectangle

C# / WPF

Ellipse Geometry Demo

C# / Reflection

Get types implementing Dictionaryint, string

C# / Network

Show Html Page in String with Process

C# / Collections Data Structure

Illustrates the use of a Stack

C# / Collections Data Structure

Creates a list by combining two other lists into one

C# / File Stream

Name Without Extension

C# / Class Interface

Illustrates the use of an indexer

C# / Data Types

Querying Type Information by Name

C# / WPF

Xaml and Code behind

C# / WPF

Display a notification icon in the system tray

Sample Java Codes

Java / Swing JFC

Time Resolution

Java / Development Class

Writes CSV (Comma Separated Value) files

Java / Swing JFC

Simple toolbar

Java / Data Type

Returns a Date set to the last possible millisecond of the minute

Java / Collections Data Structure

Illustrates how to use some of the methods of the Arrays class

Java / Swing Components

Demonstrates how to build button bars using a ButtonBarBuilder

Java / Swing JFC

Determining If the Approve or Cancel Button Was Clicked in a JFileChooser Dialog

Java / J2ME

Arc Filled Example

Java / Data Type

Compare Two Java byte Arrays Example

Java / JDK

Pass or retrieve values from a scripting engine (jdk1 6)

Java / Swing JFC

Wait (forever) for a non-null click and then quit

Java / SWT Jface Eclipse

Illustrates multithread UI programming issues

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.