Do you know this example tricks?

Java by API / Javax Microedition Lcdui

Canvas DOWN

VB.Net / WPF

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

JavaScript DHTML / YUI Library

Resize an image

Delphi / VCL

Set a date of a tdatetimepicker to blank

VB.Net by API / System Globalization

CultureInfo DateTimeFormat

PostgreSQL / Insert Delete Update

Query a single row

JavaScript Tutorial / DOM Node

Get last child from TreeWalker

Delphi / Ide Indy

Runtime errors during loading of an application

Java / Collections Data Structure

Replace an element from ArrayList using Java ListIterator

C# Tutorial / Generic

Extends Collection

Java Tutorial / Class Definition

Class Member Access Control Modifiers

C# / LINQ

An Anonymous Type Assigned to a Variable Declared with the var Keyword

Sample Android Codes

Android / UI

Using switch statement to check the RadioButton selection

Android / 2D Graphics

Create Color from RGB value

Android / Date Type

Convert Java Date To Xml Time

Android / File

Copy chars from a large (over 2GB) Reader to a Writer

Android / 2D Graphics

Shows a list that can be filtered in-place with a SearchView in non-iconified mode

Android / UI

Baseline nested

Android / Date Type

Date To String

Android / UI

Fancy Blur Activity

Android / Date Type

Iso Date

Android / UI

Add button on click listener

Android / Date Type

Gets a EEE, dd MMM yyyy hh

Android / Date Type

Get a readable string displaying the time

Sample C# Codes

C# / Internationalization

Convert string to byte array back and forth with Encoding UTF8

C# / Collections Data Structure

Multidimensional and Jagged Arrays

C# / Language Basics

Stackalloc Demo

C# / Network

Initializes a new WebRequest instance for the specified URI scheme

C# / WPF

Subclass CheckBox

C# / Network

Gets or sets the content length of data being received

C# / XML

Write attribute

C# / WPF

An ellipse that has been scaled by 20%

C# / File Stream

Sets the date and time a directory was last written to

C# / Language Basics

Demonstrate the goto

C# / WPF

Resource Lookup

C# / Development Class

Calculates the Least Common Multiple (LCM) of two strictly positive integer numbers

Sample Java Codes

Java / 2D Graphics GUI

Store BufferedImage to file and then retrieve to BufferedImage

Java / Swing JFC

MixerModel and sliders for rendering volume values

Java / Ant

Delete folder

Java / GWT

Use reflection to generate the async interface from the Service interface as per GWT standard

Java / Swing JFC

Set the value; the new value will be forced into the bars range

Java / Swing Components

Bevel Text

Java / Ant

Ant Javadoc setting

Java / 3D Graphics

Spot Light

Java / Data Type

Parse and format a number to decimal

Java / GWT

Code for the book Pro Web 2 0 Application Development with GWT by Jeff Dwyer

Java / Data Type

Truncate text on a whitespace boundary (near a specified length)

Java / Language Basics

Demonstration of a ClassLoader

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.