Do you know this example tricks?

JavaScript Tutorial / Function

Function toString()

Delphi / Forms

Correct a bidi bug in delphi

ASP.Net / Response

Referral URL info (VB net)

Oracle PLSQL Tutorial / Query Select

Count() and column renaming

Java Tutorial / SWT

Using Display Class

Flex / Chart

Plot With Custom Renderer

Java / SWT Jface Eclipse

Find a table cell from mouse down (SWT FULL_SELECTION)

Oracle PLSQL Tutorial / SQL Data Types

Check Date format before inserting

C# / LINQ

A local variable instantiated within a lambda expression is unique per invocation of the delegate instance

Perl / Data Type

Exchange reference

Java / Collections Data Structure

A memory-efficient hash set

C# Tutorial / WPF

Hit Result Behavior

Sample Android Codes

Android / Core Class

Extends ContentProvider

Android / Network

Is Http Url Available

Android / Core Class

Application Widget

Android / UI

Demonstrates setting size constraints on android widget ImageView

Android / 2D Graphics

Increase Contrast, Reduce Brightness

Android / Hardware

Location util

Android / Date Type

Convert date in RFC2822 and UTC strings, and to build Date from string of dates in RFC2822 and UTC format

Android / UI

Adding WebView to Activity, load URL and grab focus

Android / Network

Launch the email intent

Android / Development

Get Process ID with shell command and read by Java code

Android / Network

Suggest Url Provider

Android / Network

Airplane Mode and turn Wifi On

Sample C# Codes

C# / WPF

AccessText element adds access keys to controls (how to specify the access key)

C# / WPF

Use Ellipse AddHandler to add handler to Ellipse objects

C# / Collections Data Structure

Array FindAll Method

C# / GUI Windows Form

ProgressBar Host

C# / Network

Get Absolute Url For Local File

C# / Language Basics

Define your own delegate

C# / Data Types

Gets the string up to the maximum number of characters

C# / File Stream

File Class

C# / Collections Data Structure

Demonstrate the Stack class

C# / XML

Get attribute or return default value

C# / ADO Database

Call the SQL Server AddProduct() store procedure

C# / Data Types

Parse string with a culture-specific format to byte with IFormatProvider

Sample Java Codes

Java / Collections Data Structure

Use treemap

Java / Internationalization

BreakIterator Demo

Java / SWT Jface Eclipse

Demonstrates TableTree

Java / 2D Graphics GUI

Class for converting images to GIF files

Java / Security

Checking permissions

Java / JSTL

JSTL Format

Java / Hibernate

Criteria Condition

Java / Swing JFC

JLabel is for displaying text, images or both It does not react to input events

Java / Swing JFC

Allow selection to span one vertical contiguous set of visible nodes

Java / 2D Graphics GUI

A class representing a linear path segment

Java / Reflection

A better concise toString method for annotation types

Java / EJB3

Mark Interceptors For A Remote Method

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.