Home » Desktop Java

Desktop Java

How to Close an Application Properly

In order to close Java program we need to consider which kind of Java application is it?, because termination of Java application varies between normal core java program to swing GUI application. In general all Java programs terminate automatically once all user threads created by program finishes its execution, including main thread. 1. Introduction JVM doesn’t wait for daemon thread ...

Read More »

Eclipse Web Development Tutorial

The Web development environment provides the tools we need to develop Web applications as defined in the Sun Microsystems Java™ Servlet 2.3 Specification and the Sun Microsystems JSP 1.2 Specification. Web applications can be simple (consisting of only static Web pages) or they can be more advanced and include JavaServer Pages (JSP) files and Java servlets. These resources, along with ...

Read More »

JavaFX TreeTableView Example

This is a JavaFX TreeTableView Example. The TreeTableView control combines the features of the TableView and TreeView controls. It displays a TreeView inside a TableView. A TreeView is used to view hierarchical data. A TableView is used to view tabular data. A TreeTableView is used to view hierarchical data in a tabular form. The following table shows an overview of ...

Read More »

Java Swingx Game Example

1. Introduction Swing is a GUI widget toolkit for Java. It is part of Oracle’s Java Foundation Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs. Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT). JAVA provides a rich set of libraries to create ...

Read More »

JavaFX Input Event Example

This is a JavaFX Input Event example. An input event indicates a user input, for example, clicking the mouse, pressing a key, touching a touch screen, and so forth. JavaFX supports many types of input events. All input event-related classes are in the javafx.scene.input package. The InputEvent class is the superclass of all input event classes. Typically, nodes execute the ...

Read More »

Java Swingx Example

Swing is a GUI widget toolkit for Java. It is part of Oracle’s Java Foundation Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs. Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT). JAVA provides a rich set of libraries to create Graphical User ...

Read More »

JavaFX Event Example

This is a JavaFX Event Example. In general, the term event is used to describe an occurrence of interest. In a GUI application, an event is an occurrence of a user interaction with the application. Clicking the mouse and pressing a key on the keyboard are examples of events in a JavaFX application.               ...

Read More »

How to update Eclipse

In this article we will see how we can update Eclipse. Eclipse is the most popular Integrated Development Environment (IDE) used by Java developers. The Eclipse platform itself is structured as subsystems which are implemented in one or more plug-ins.  The subsystems are built on top of a small runtime engine. The term Workbench refers to the desktop development environment. The ...

Read More »

Eclipse Checkstyle Plugin Example

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard. Checkstyle is highly configurable and can be made to support almost any coding standard. ...

Read More »

Java Swing JWindow Example

A JWindow is a container that can be displayed anywhere on the user’s desktop. It does not have the title bar, window-management buttons, or other trimmings associated with a JFrame, but it is still a “first-class citizen” of the user’s desktop, and can exist anywhere on it. 1. Introduction The JWindow component contains a JRootPane as its only child. The ...

Read More »