Do you know this example tricks?

Java Tutorial / EJB3

Setup Entity JPA Development Environment

Delphi / VCL

Get names of enumerated values

Java by API / Java Util Logging

New SimpleFormatter()

MySQL / User Permission

A password

Java / Velocity

Use macro to wrap HTML tags

Android / Hardware

Gravity sensor

JavaScript DHTML / Jquery

Show the order in the jQuery object

C++ Tutorial / Data Types

Using an array of pointers to char

VB.Net / 2D Graphics

Draw Bezier

C++ / Qt

SdiWindow with toolbar and menubar

XML Tutorial / XSLT StyleSheet

Assign value from generate-id( ) to attribute

Java / Data Type

Adds a number of weeks to a date returning a new object

Sample Android Codes

Android / 2D Graphics

Draw with Canvas

Android / UI

Listen EditText event

Android / Network

Cacheable Downloader

Android / 2D Graphics

OpenGL ES version of a sprite

Android / Game

Compute the magnitude (length) of a vector

Android / Core Class

Context openFileOutput

Android / 2D Graphics

Scale an Image

Android / UI

Using LayoutParams

Android / UI

Color Select Dialog

Android / Hardware

Get Used Memory Size

Android / Hardware

Sensor Changed event and information

Android / UI

Load local resource into WebView

Sample C# Codes

C# / XML

XmlRootAttribute

C# / Language Basics

Format Error String

C# / 2D Graphics

Enuermate the StringAlignment value

C# / Collections Data Structure

Returns true if there are no more than a set number of items in the IEnumerableT

C# / 2D Graphics

DashDot style Pen

C# / GUI Windows Form

Two Panels with Splitter

C# / WPF

A Tool Tip on a Disabled Control

C# / Security

HashAlgorithm

C# / Class Interface

Using the this Object Reference

C# / Development Class

Hooking up to a Windows Callback

C# / Data Types

NumberFormatInfo Defines how numeric values are formatted and displayed, depending on the culture

C# / WPF

FlowDocument with Figure xaml

Sample Java Codes

Java / Swing JFC

Limiting the Values in a Number JSpinner Component

Java / GWT

Column grouping with Widget (Ext GWT)

Java / Swing JFC

Unit conversions

Java / JDK

Create a file and change its attribute to readonly

Java / Data Type

Java Float isNaN Method

Java / Development Class

Show use of Calendar objects

Java / Swing JFC

Enabling and Disabling a Tab in a JTabbedPane Container

Java / Apache Common

Cookie Bag 2

Java / Swing JFC

Adding a Disabled Icon to a JButton Component

Java / Data Type

SimpleDateFormat(dd-MMM-yy)

Java / Swing JFC

Swing Table Column ToolTip Sample

Java / File Input Output

Output stream that compresses into the BZip2 format

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.