Category Archives: Java

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 […]


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; […]