This repository contains my journey of learning Java Swing for GUI development after mastering Java OOP basics. I am following a YouTube playlist to deepen my knowledge in building rich user interfaces with Java Swing. The tutorial covers 25 essential topics, from basic components to advanced features like animations and 2D graphics.
Each folder in this repository will cover a specific topic in Swing with relevant code examples and explanations.
-
Frames πΌ
Learn how to create and manage windows (frames) in Java Swing. -
Labels π¨βπ»
Understand how to display text or images using labels in your application. -
Panels π₯
Explore how to group and organize components within panels for better layout management. -
Buttons π
Learn about buttons, their action listeners, and how to make interactive applications. -
BorderLayout π§
Understand how to use BorderLayout for organizing components in five regions: North, South, East, West, and Center. -
FlowLayout π
Learn about FlowLayout, which arranges components in a line, wrapping to the next line when necessary. -
GridLayout π³
Discover how to use GridLayout to arrange components in a grid of rows and columns. -
JLayeredPane π
Learn about JLayeredPane for managing layers of components, allowing components to overlap. -
Open New Window π»
Understand how to open and manage new windows in your application. -
JOptionPane π
Learn how to display message dialogs, confirmation dialogs, and input dialogs with JOptionPane. -
TextFields π
Explore how to work with text fields for user input and data collection. -
Checkboxes β
Learn how to use checkboxes to allow users to select multiple options. -
Radio Buttons π
Understand how to use radio buttons for mutually exclusive choices, grouped in ButtonGroups. -
Combo Boxes π
Learn about combo boxes for drop-down lists of selectable options. -
Sliders π‘
Discover how to use sliders for selecting numeric values within a range. -
Progress Bar π
Learn how to implement a progress bar to indicate the progress of a task. -
Menu Bars π
Understand how to add menus and submenus in your application for navigation and actions. -
Select a File π
Learn how to create file chooser dialogs for selecting files from the system. -
Color Chooser π¨
Explore how to implement a color picker dialog, allowing users to choose colors. -
KeyListener π
Understand how to implement KeyListener to handle keyboard events in your application. -
MouseListener π±
Learn how to respond to mouse events like clicks, movements, and presses using MouseListener. -
Drag & Drop π
Explore how to implement drag-and-drop functionality in your GUI. -
Key Bindings β¨
Learn how to bind keyboard actions to specific events in your application. -
2D Graphics π
Understand how to draw basic 2D graphics such as lines, rectangles, and circles. -
2D Animations πΎ
Explore how to create animations with 2D graphics for a more interactive experience.
Happy coding! π