Do you know this example tricks?

Java Tutorial / Internationalization

Change the characters

Oracle PLSQL Tutorial / Object Oriented

Using UPDATE with TYPEed Columns

Android / Date Type

Reversing String

JavaScript Reference / Javascript Methods

Writeln() Syntax, Parameters and Note

Flex / Container

Rotate a VBox

C Tutorial / Math h

Int isunordered(a, b)

C# / ADO Database

Deleting Data

JavaScript DHTML / Form Control

Getting and Setting a Text Objects Value

C# by API / System Drawing Printing

PrinterSettings PrinterName

Android / Network

Http Get and Http Post

Delphi / Activex OLE

DDE Between Delphi and Excel

VB.Net by API / System Windows Forms

MenuItem RadioCheck

Sample Android Codes

Android / Core Class

Extends IntentService to create your own Intent

Android / Hardware

LocationManager GPS_PROVIDER

Android / UI

Using SimpleAdapter to fill data to ListView

Android / UI

Option Menu selection event

Android / File

Delete a file and create directory

Android / UI

Ok Dialog Wrapper

Android / 2D Graphics

Create a transparent bitmap from an existing bitmap by replacing certain color with transparent

Android / Animation

Using AlphaAnimation

Android / UI

Display an alert dialog

Android / UI

Set orientation for SlidingDrawer

Android / UI

Use RelativeLayout to hold ImageView and AnalogClock

Android / UI

Using WebView to load static html string

Sample C# Codes

C# / GUI Windows Form

Button Generator

C# / 2D Graphics

Path Gradient

C# / Internationalization

Use CultureAndRegionInfoBuilder

C# / Reflection

Use reflection to get the Elapsed event

C# / File Stream

Create DriveInfo object from FullName of FileInfo

C# / Reflection

ActivationContext identifies the activation context for the current application

C# / 2D Graphics

New TextureBrush(bmp, new Rectangle(0, 0, 25, 25))

C# / Language Basics

Relational Operators

C# / LINQ

First with string method

C# / Data Types

Nullable extension

C# / GUI Windows Form

Dynamic Menu

C# / Class Interface

A simple inventory example

Sample Java Codes

Java / Core

Determining If Two Filename Paths Refer to the Same File

Java / File Input Output

Copy the source file system structure into the supplied target location

Java / Database SQL JDBC

Create WebRowSet

Java / Data Type

Long class creates primitives that wrap themselves around data items of the long data type

Java / XML

Read an Xml file

Java / SWT Jface Eclipse

Child Shell Example

Java / Swing JFC

Add and remove tree Node and expand the tree node

Java / Swing JFC

TextArea Elements

Java / Data Type

Compare Two Java double Arrays

Java / XML

Apply some indentiation to some XML

Java / Class

Create a new instance of a class by calling a constructor with arguments

Java / Swing JFC

Highlight a word in JTextComponent

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.