30, April, 2008 – 9:15 am
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 can never see [...]
30, April, 2008 – 9:10 am
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 (http://mirrors.ibiblio.org/pub/mirrors/proftpd/distrib/source/)
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 \
–enable-ctrls \
–enable-ipv6 \
–with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quo tatab_sql \
–with-includes=/usr/local/mysql/include/mysql/ \
–with-libraries=/usr/local/mysql/lib/mysql
#make
#make install
Cài đặt thành công.
Proftpd được cài [...]
28, April, 2008 – 3:07 pm
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 [...]
28, April, 2008 – 12:07 pm
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 [...]
28, April, 2008 – 11:33 am
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. [...]
28, April, 2008 – 11:32 am
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 need [...]
28, April, 2008 – 11:22 am
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 [...]
28, April, 2008 – 11:19 am
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 [...]
28, April, 2008 – 10:35 am
(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 [...]
28, April, 2008 – 10:26 am
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 support for events [...]
28, April, 2008 – 9:25 am
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 JCalendarCombo have [...]
28, April, 2008 – 9:24 am
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 to use for all display elements.
Can optionally allow [...]
27, April, 2008 – 8:50 pm
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 [...]
27, April, 2008 – 8:39 pm
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:
http://hsqldb.org/web/hsqlFeatures.html
documentation
http://hsqldb.org/web/hsqlDocsFrame.html
TẠI SAO NÊN DÙNG HSQL: Như mọi ng biết, mọi hệ qtcsdl đều fải cài đặt tại máy khách [...]
27, April, 2008 – 4:52 pm
/**Project Name: example1
* Package Name: jTable
* File Name: TableExample.java
* Path :
* Description:
* Copyright: Copyright (c) 2008
* Company: Harmonysoft, Ltd
* Created User: tinh_cx, Email: tinh_cx@harmonysoft.com.vn
* @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;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.SwingConstants;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import com.pagosoft.plaf.PlafOptions;
public class TableExample extends JPanel{
static JFrame myFrame;
// [...]
26, April, 2008 – 9:27 am
http://www.manageability.org/blog/archive/20030108%23101_reasons_why_java_is/view
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 like Python (JPython) , [...]
26, April, 2008 – 12:10 am
1. Quaqua Look And Feel
By:
Werner Randelshofer
License:
Commercial
URL:
http://www.randelshofer.ch/quaqua/download.html
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:
http://www.markus-hillenbrand.de/3dlf/index.html
Description:
3D Look and Feel is a look and feel for the Java 2 Platform.
3. FH Look And Feel
By:
Stefan Harsan Farr
License:
GPL
URL:
http://www.geocities.com/shfarr/
Description:
Just a few words about the possibilities of this [...]
24, April, 2008 – 1:59 pm
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 applet by Webmasters. Formula One for Java [...]
24, April, 2008 – 1:33 pm
http://www.incors.com/alloylnf/jws/alloyDemo.jnlp
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 for professional Java™ developers who [...]
24, April, 2008 – 12:57 pm
import com.foo.Bar;
// 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 [...]