Monthly Archives: April 2008

Xlight ftp server

Xlight ftp server is able to run in Windows 98/ME/NT/2000/XP/2003/Vista. Its main features include: Support virtual servers – Xlight FTP Server can run multiple virtual servers on the same IP address. System Service – It can run as window system service. Native User Isolation – Each user has separate virtual paths from other users, he […]

FTP SERVER (Proftpd) for LINUX. (Full tutorial)

PROFTPD I. Giới thiệu. Cài trên centOS 4.4 Final (updated PHP 5.x.x, MySQL 5.x.x, Apache 2.x.x) II. Download. Download gói cài đặt: proftpd-1.3.0.tar.gz ( III. Cài đặt. Copy gói cần cài đặt đến thư mục bất kỳ, chẳng hạn: /home/abc/setup/ Giải nén: #pwd /home/abc/setup/proftpd-1.3.0 #tar –zxf proftpd-1.3.0.tar.gz #cd proftpd-1.3.0 # ./configure –prefix=/usr/local/proftpd \ –enable-dso \ […]

Sorting Algorithms

We all know that Quicksort is one of the fastest algorithms for sorting. It’s not often, however, that we get a chance to see exactly how fast Quicksort really is. The following applets chart the progress of several common sorting algorithms while sorting an array of data using in-place algorithms. This means that the algorithms […]

Java FAQ

Get free “1000 Java Tips eBook” I just started with Java and found very strange that in simple operation likeMemory Interceptor Library Nokia pushing mobile development at Eclipse Q: Can I pass a function as a parameter in Java? If so, how? Q: How can I change the default icon on application window (java cup) […]

Z-order: The difference between lightweight and heavyweight components

Swing components are referred to as lightweights while AWT components are referred to as heavyweights. The difference between lightweight and heavyweight components is z-order: the notion of depth or layering. Each heavyweight component occupies its own z-order layer. All lightweight components are contained inside heavyweight components and maintain their own layering scheme defined by Swing. […]

MVC architecture

MVC architecture MVC is a well known object-oriented user interface design decomposition that dates back to the late 1970s. Components are broken down into three parts: a model, a view, and a controller. Each Swing component is based on a more modern version of this design. Before we discuss how MVC works in Swing, we […]


Swing is a large set of components ranging from the very simple, such as labels, to the very complex, such as tables, trees, and styled text documents. Almost all Swing components are derived from a single parent called JComponent which extends the AWT Container class. Thus, Swing is best described as a layer on top […]


AWT (the Abstract Window Toolkit) is the part of Java designed for creating user interfaces and painting graphics and images. It is a set of classes intended to provide everything a developer requires in order to create a graphical interface for any Java applet or application. Most AWT components are derived from the java.awt.Component class […]

AWT Vs. Swing

(Abstract Windowing Toolkit) A class library from Sun that provides an application framework and graphical user interface (GUI) routines for Java programmers. AWT was the first user interface development system included in the Java Foundation Classes (JFC). In 1997, Swing was introduced, which provides more capability and is written entirely in Java. See JFC, AFC […]

Swing Packages

javax.swing – Provides a set of “lightweight” (written in Java with no native code) components that, to the maximum degree possible, work the same on all platforms. javax.swing.border – Provides classes and interfaces for drawing specialized borders around a Swing component. javax.swing.colorchooser – Contains classes and interfaces used by the JColorChooser component. javax.swing.event – Provides […]

JCalendar: Tutorial

JCalendar is the generic name for two Java components: one is called JCalendar and the other is called JCalendarCombo. They both share common features, particularly the ability to select a date and/or time. The former accomplishes this with a panel and the latter with a combo-box. Creating the Components The simplest constructors for JCalendar and […]


The main features of JCalendar are: Easy to use. Can input the date, time or both. Can set entry format for time selection. Can optionally display today’s date. Can use as a panel (JCalendar) or combo-box (JCalendarCombo). The combo-box can be editable. Can select date format for selected date in combo-box. Can select the font […]

Features Summary

JAVA 100% Java Support JDK 1.1.x, 1.2.x, 1.3.x, 1.4.x, 1.5.x, 1.6.x Extensive JDBC interface support with batch statement and scrollable ResultSet functionality Full JDBC DatabaseMetaData and ResultSetMetaData support Java stored procedures and functions Full support for PreparedStatement objects to speed up query processing SQL Relational Database Management System, with the object capabilities of Java Very […]


HSQL là 1 hệ qtrị csdl quan hệ, đặc biệt nó được viết bằng 1 ngôn ngữ cấp cao: JAVA. Để biết thêm các đặc điểm của nó , các bạn có thể xem tại đây hsql features: documentation TẠI SAO NÊN DÙNG HSQL: Như mọi ng biết, mọi hệ qtcsdl đều fải […]


/**Project Name: example1 * Package Name: jTable * File Name: * Path : * Description: * Copyright: Copyright (c) 2008 * Company: Harmonysoft, Ltd * Created User: tinh_cx, Email: * @version 1.0 * Created Time: 2:54:17 PM, Apr 27, 2008 */ package jTable; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JFrame; […]

101 Reasons Why Java Is Better Than .NET 1. Run on Multiple Platforms from the Smallest Devices to the Largest Mainframes. Run on multiple platforms, from smart cards, embedded devices(JStamp), cell phones(Nokia, Motorola, Ericsson etc), pdas (Palm, Symbian, Sharp),laptops and desktops (MacOS, Linux), servers (Unix based), Non Stop Servers (Tandem) to Mainframes ( IBM ). 2. Run Dynamic Languages Run Dynamic Languages […]

LnF: Java Look And Feel

1. Quaqua Look And Feel By: Werner Randelshofer License: Commercial URL: Description: The Quaqua Look and Feel is an extension for Apple’s Java implementation of the Aqua Human Interface Guidelines. 2. 3D Look and Feel By: Markus Hillenbrand License: GNU General Public License URL: Description: 3D Look and Feel is a look and feel for […]

Formula One-Java 5.0

Formula One-Java 5.0 Other Tidestone Technologies, Inc. 27 Jan 1999 49448 Tested and Approved with the following Novell products: NetWare 5 NetWare 5 Product Description Formula One(tm) for Java® from Tidestone Technologies, Inc. ™, is a 100% Pure Java standalone spreadsheet application that can also be used as a JavaBean by Java developers and an […]

JAVA LOOK AND FEEL(LnF): ALLOY Frequently Asked Questions What is the Alloy Look and Feel? The Alloy Look and Feel is a software component that can be used by professional Java™ developers to enhance the appearance and atmosphere of their Java™ Swing applications. Who was the Alloy Look and Feel developed for? The Alloy Look and Feel was developed […]

LOG4J: Example

import; // Import log4j classes. import org.apache.log4j.Logger; import org.apache.log4j.BasicConfigurator; public class MyApp { // Define a static logger variable so that it references the // Logger instance named “MyApp”. static Logger logger = Logger.getLogger(MyApp.class); public static void main(String[] args) { // Set up a simple configuration that logs on the console. BasicConfigurator.configure();“Entering application.”); […]