Creating Custom Windows with Java Swing JFrame
Setting Up a Java Swing Project
To begin developing with Java Swing, create a new project in your IDE:
File → New → Project
Enter project name and location
Select appropriate language, build system, and JDK version
Basic JFrame Window Implementation
The following example demonstrates creating a simple window thatt fills the entire screen:
imp ...
Posted on Sat, 20 Jun 2026 17:47:05 +0000 by vbracknell
Dear ImGui: A Lightweight C++ GUI Library for Tooling and Debugging
Dear ImGui is a **bloat-free graphical user interface library for C++**. It generates optimized vertex buffers that can be rendered at any time within an application using a 3D pipeline. Its fast, portable, renderer-agnostic, and self-contained (no external dependencies).
Dear ImGui is designed to **enable rapid iteration** and **empower progra ...
Posted on Sat, 13 Jun 2026 17:45:52 +0000 by ctsttom
Java Swing UI Components: A Comprehensive Technical Guide
Introduction to Swing and MVC Architecture
The Java Swing library provides a comprehensive set of graphical user interface components for building desktop applications. Understanding the architectural pattern behind these components is essential for creating maintainable and flexible GUI code. The Model-View-Controller (MVC) design pattern form ...
Posted on Thu, 11 Jun 2026 16:47:07 +0000 by Piba
Qt QObject Class: Complete Technical Reference
The QObject class serves as the foundation for all Qt widgets and core components. This class provides the essential infrastructure for Qt's signal-slot mechanism, event processing, property system, and object hierarchy management.
Header and Build Configuration
#include <QObject>
// In .pro file:
QT += core
Core Features
Signal-Slot Me ...
Posted on Fri, 05 Jun 2026 16:09:00 +0000 by oaf357
Stacked Layout and Timer Usage in Qt
Stacked Layout Manager
The stacked layout manager (QStackedLayout) organizes interface elements in a stack-like manner:
All widgets are managed along the vertical axis perpendicular to the screen
Only one widget is visible at any given time
The topmost widget in the stack is displayed to the user
Key Characteristics
Each widget maintains uni ...
Posted on Wed, 03 Jun 2026 17:38:00 +0000 by salami1_1
Building a Random Student Selection App with Python tkinter
Data Processing
To create a student calling application, we need to extract student names and IDs from an Excel speradsheet. This example uses the pandas library to read data.
pip install pandas
pip install openpyxl
The input Excel file (demo.xlsx) contains columns such as "ID" and "Name". We load and validate the data:
imp ...
Posted on Wed, 03 Jun 2026 17:04:22 +0000 by leetee
Setting Up a Virtual Desktop on Linux with TigerVNC for Remote GUI Applications
When managing a remote Linux server, running graphical user interface (GUI) applications can be challenging, especially if the physical console is in use or direct graphical access is not feasible. Traditional X11 forwarding over SSH can often be plagued by performance issues, particularly across high-latency networks, making tasks like install ...
Posted on Mon, 01 Jun 2026 02:12:31 +0000 by memotype
Button Widgets in Qt for C++ GUI Development
QPushButton
QPushButton is derived from QAbstractButton, an abstract base class for all button types.
Property
Description
text
The label displayed on the button.
icon
An icon shown on the button.
iconSize
Dimensions of the icon.
shortcut
Keyboard shortcut to trigger the button.
autoRepeat
If true, holding the mouse button trigge ...
Posted on Wed, 27 May 2026 16:15:37 +0000 by RedMaster
Comprehensive Guide to Common Qt Widgets and Layouts
Layouts and Spacers
Grid Layout arranges widgets in a grid of rows and columns. Each widget can span multiple cells.
#include <QApplication>
#include <QWidget>
#include <QGridLayout>
#include <QPushButton>
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QWidget window;
QGridLayout layout;
...
Posted on Tue, 26 May 2026 19:57:27 +0000 by tharagleb
Understanding Qt Window Components and Window Types
Window Components in Qt
Graphical user interfaces (GUIs) in Qt are built using a hierarchy of windows and widgets. The <QtGui> module provides the foundational classes for creating these UI elements, and all visual components are represented as objects derived from the QWidget class.
The Role of QWidget
QWidget serves as the base class fo ...
Posted on Wed, 20 May 2026 01:51:58 +0000 by Mykasoda