Do you know this example tricks?

Java / Swing JFC

Add undo support to the StyleFrame example

Delphi / Strings

Get a specified [type safe] char from a string

C++ / Algorithm

Use push_heap to push new element into the heap

Flash ActionScript / Language

Assignment Operators

Java / Ant

One ant script calls another antscript and dir setting

C++ Tutorial / Function

Use reference parameters to create the swap() function

VB.Net by API / System Drawing Drawing2d

LinearGradientBrush SetSigmaBellShape

Delphi / Examples

Wait for an amount of milliseconds

MySQL / Insert Delete Update

Using INSERT DELAYED

Java / Servlets

Utility methods for dealing with HTML

Java / Data Type

Converting a String to a byte Number

Android / UI

Load Button from layout xml file and add action listener

Sample Android Codes

Android / Core Class

Demonstrates adding notifications to the status bar

Android / Date Type

Truncate by length

Android / UI

FragmentDialog Or Activity

Android / Core Class

Manage Contacts

Android / UI

Get data from RadioButton

Android / UI

Using LinearLayout

Android / UI

Add Button from layout xml file

Android / Date Type

Get Date String from milliseconds

Android / Date Type

Returns the current time since 1970, UTC, in milliseconds

Android / File

Ini File Stream Reader

Android / User Event

Using your finger to draw

Android / UI

Using HorizontalScrollView

Sample C# Codes

C# / GUI Windows Form

Using PrintPreviewDialog

C# / Security

HashAlgorithm

C# / Date Time

Demonstrates culture formatting

C# / WPF

Create FishEye Effect Buttons by changing the Button font size

C# / WPF

Adding border to TextBlock with Border

C# / WPF

TextBox TextInput

C# / LINQ

Use LINQ to query characters in a string

C# / LINQ

SequenceEqual Operator with Take, Concat and Skip

C# / Collections Data Structure

Gets a collection of values in the StringDictionary

C# / WPF

Object Binding

C# / Internationalization

Illustrates the CultureInfo class

C# / ADO Database

Use the ExecuteNonQuery() method to run INSERT, UPDATE, and DELETE statements

Sample Java Codes

Java / JPA

Not Empty

Java / Awt

Demonstrating methods keyUp and keyDown

Java / 2D Graphics GUI

Arc demonstration

Java / Core

StringBuffer class

Java / Class

Java Instance Initialization

Java / Web Services SOA

This sample shows how to expose a Java class as a web service

Java / 2D Graphics GUI

Produces a copy of the supplied image

Java / Development Class

Moving Average

Java / Swing JFC

Work with GridBagConstraints 2

Java / Event

Action, Mouse Focus

Java / Development Class

SimpleTimer enables bounded and unbounded waits

Java / GWT

Grid Data Bound Remove Sample (Smart GWT)

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.