Skip to content

RgoSL/java-swing-gui-examples

Repository files navigation

Java GUI – Swing Components Collection

  • 🎯 Repository created to store Java Swing GUI component examples I developed.
  • 🧭 Each component lives in its own dedicated folder, all linked below for easy access.

All examples were built applying Object-Oriented Programming (OOP) concepts 🤓

📇 Index


Button Types

▶️ Standard Button

This example demonstrates the use of traditional Swing buttons.


🔲 ComboBox

Example of selection-based components commonly used for choices.


🔘 Radio Button

Creates an option button, usually applied to boolean or exclusive choices.



Window Types

🪟 Simple Menu

A basic menu example that opens a small navigation window.


🪟 Submenu

A variation of the previous example, where the menu redirects to a secondary window.


📌 Single Selection List

Example of a simple selection list.


📌 Multiple Selection List

Example of a list that allows multiple selections.


🗄️ Tables

Demonstrates how to create and manage tables using Swing.



Functional Features

🧹 Clear Function

Demonstrates a button that clears all input fields at once.


🎭 Mask Function

Example showing how to apply input masks in Java.


👀 Visibility Control

Example of how to hide or display interface elements dynamically.


🔛 Enable / Disable Function

Demonstrates how to activate or deactivate component functionality.


🧱 Input Formatting

Limits the number and type of characters allowed in an input field.


🧮 Calculator

A calculator built using multiple Swing components working together.


🪞 Interface Layout Model

A layout sketch showing how Swing components behave inside an interface.



📚 Useful Resources


About

Examples of Java Swing desktop user interfaces focusing on layout, components, and object-oriented programming (OOP) interaction.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages