Submit Your Site To The Web's Top 50 Search Engines for Free!       ExactSeek: Relevant Web Search


Flag Counter

Total Pageviews

Error Image

JAVA FlowLayout

The FlowLayout is the simplest layout manager. By default, it puts all the components into a row in the order they are added to the container from left-to-right. If the row meets the end of the container then a new row is started beneath.

Error Image

JAVA Editors Tools

If you are new to Java programming, you are probably starting by using notepad. When you want to compile and run a program, you need to open a DOS window and type javac and java MyProgram. Also, what you type is what you get: notepad does not help you any way with Java syntax or design. This is fine if you are just starting, and even experts sometimes use command-line Java options.

Error Image

JAVA Integrated Development Environment (IDE)

An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger.

Error Image

BorderLayout on Java

A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center. Each region may contain no more than one component, and is identified by a corresponding constant: NORTH, SOUTH, EAST, WEST, and CENTER.

Error Image

GridLayout on Java

The GridLayout class is a layout manager that lays out a container's components in a rectangular grid. The container is divided into equal-sized rectangles, and one component is placed in each rectangle. For example, the following is an applet that lays out 3 textfields and 3 labels into three rows and two columns:

Friday, March 29, 2013

Functions and Procedures in Java

As with any other programming language Java also has useful functions and procedures to facilitate and mengoptmalkan program.

1. Procedures
The procedure is a collection of expressions of algorithms useful to run a specific process. The procedure is widely known from machine language to a high level language (Query).
In the Java language procedure usually begins with the word "void". And most applications run through the procedure.

Tuesday, February 19, 2013

Introduction to CSS

Used to facilitate in designing web-based script. HTML can be inserted in the script. Facilitate the setting web page. Menghemt script. Here's a simple example of the use of scripts on <body>.

Array in C, C++ and C#

1. What is an Array?

An array is a collection of same type of elements which are sheltered under a common name. An array can be visualised as a row in a table, whose each successive block can be thought of as memory bytes containing one element. Look at the figure below : An Array of four elements, start from Index-0 to Index-3.
2. How to Define an Array?

1. C and C++
When declaring a regular array of local scope (within a function, for example), if we do not specify otherwise, its elements will not be initialized to any value by default, so their content will be undetermined until we store some value in them. The elements of global and static arrays, on the other hand, are automatically initialized with their default values, which for all fundamental types this means they are filled with zeros. In both cases, local and global, when we declare an array, we have the possibility to assign initial values to each one of its elements by enclosing the values in braces { }. For example:

How to Apply a GCC Patch on Windows 7

Released by the Free Software Foundation, gcc is a *nix-based C compiler usually operated via the command line. It often comes distributed with a *nix installation, so if you are running Unix or a Linux variant you likely have it on your system.

The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these languages (libstdc++, libgcj,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.

We strive to provide regular, high quality releases, which we want to work well on a variety of native and cross targets (including GNU/Linux), and encourage everyone to contribute changes or help testing GCC. Our sources are readily and freely available via SVN and weekly snapshots.
Major decisions about GCC are made by the steering committee, guided by the mission statement.

1. first, you need to install the gcc compiler. you can use DevC++ or MinGw. Download the compiler here :
2. after the install is complete, go to the folder where your compiler installation, then go to the folder "bin" and copy the URL.
C:\Dev Cpp\bin\

3. Go to "Computer" properties, then select "advanced system settings", a new window will appear.

4.  in the "system variables", search variable named 'path', then click edit ...

5. In "Variable value", add a semicolon (;) at the very back, and paste your Compiler URL... and then click OK..

6. Patching the GCC Compiler is successfully.  now, tes your GCC.....

Hopefully helpful