Java Blackboard
Ders 033-064
Java programlama dilinin 033-064 arası dersleri.
Toplam Ders: 163 |
Bu Sayfada: 32 ders
Ders 033-064
Key Concepts & Highlights
◉
Java Swing GUI panels
◉
Dynamic 5-letter board
◉
Color-coded letter feedback
◉
JTextField for user guesses
◉
JPanel layout & TitledBorder
Key Concepts & Highlights
◉
JFrame and JPanel management
◉
Customizing panel size, spacing, and transparency
◉
Using TitledBorder for labeled letter panels
◉
Dynamic GUI creation for multiple word attempts
◉
Color-coding letters for guess feedback
Key Concepts & Highlights
◉
Randomly select a 5-letter word from a list
◉
Take user input using Scanner
◉
Compare each letter of the guess with the target word
◉
Using loops to allow multiple guesses
◉
Conditional logic to provide feedback (+ or -)
Key Concepts & Highlights
◉
Dynamic JComboBoxes (Category → Item)
◉
Using DefaultComboBoxModel to update items dynamically
◉
Displaying images in JLabel based on selection
◉
Scaling images to fit GUI components
◉
Swing layout management with absolute positioning
Key Concepts & Highlights
◉
Dependent JComboBoxes (City → District)
◉
Using #DefaultComboBoxModel to update items dynamically
◉
Setting custom fonts for #JComboBox items
◉
Retrieving and displaying selections in #JTextArea
◉
Basic Swing layout management and event handling
Key Concepts & Highlights
◉
Creating dependent JComboBoxes (parent → child list updates)
◉
Using ActionListener to detect combo box changes
◉
Dynamically adding and clearing #JComboBox items
◉
Displaying selected values in a #JTextArea
◉
Building a simple interactive form with Swing
Key Concepts & Highlights
◉
Drawing the #TurkishFlag Graphics2D
◉
Using ovals, polygons, and rectangles
◉
Applying custom colors
◉
Building a drawing panel
◉
Creating a complete flag window
Key Concepts & Highlights
◉
Drawing shapes with #Graphics2D (polygons, lines, ovals, rectangles)
◉
Loading and rendering images in a custom JPanel
◉
Using custom colors, strokes, and fonts
◉
Overriding paint() for custom 2D drawing
◉
Building a drawing window with JFrame + JPanel
Key Concepts & Highlights
◉
Building a full-year calendar UI with Swing
◉
Using BorderLayout and GridLayout together
◉
Rendering weekdays and month-day alignment
◉
Dynamic UI updates with removeAll() & revalidate()
◉
Handling month selection with JComboBox
Key Concepts & Highlights
◉
BorderLayout usage for top, center, bottom UI structure
◉
GridLayout for creating a 7×7 calendar grid
◉
Rendering days and weekdays dynamically
◉
Updating UI with removeAll(), add(), and revalidate()
◉
Using JComboBox to switch between calendar months
Key Concepts & Highlights
◉
Building a 6×7 calendar layout using GridLayout
◉
Updating calendar views dynamically with JComboBox
◉
Creating pastel-colored day cells with random colors
◉
Conditional rendering of dates (empty, filled, custom)
◉
Using BorderLayout to structure header, footer, and grid
Key Concepts & Highlights
◉
How to build dynamic UIs using BorderLayout and GridLayout
◉
Updating panels live with ComboBox selections
◉
Creating pastel color panels with random color generation
◉
Rendering 3-letter and 5-letter framed ASCII art grids
◉
Using revalidate() & repaint() for smooth UI refresh
Key Concepts & Highlights
◉
Using JComboBox to switch between dynamic grid layouts
◉
Generating pastel-colored panels with Random
◉
Creating flexible UI with BorderLayout and GridLayout
◉
Updating panels dynamically with removeAll + revalidate
◉
Styling labels and panels with pastel color palettes
Key Concepts & Highlights
◉
Using JComboBox to select options in a Java Swing GUI
◉
Updating JLabel text and color dynamically based on selection
◉
Applying BorderLayout to position components in the frame
◉
Customizing font, size, and alignment for labels
◉
Handling ActionListener events for interactive UI
Key Concepts & Highlights
◉
Using #BorderLayout to place buttons in NORTH, SOUTH, EAST, WEST, CENTER
◉
Creating reusable #JButton components with a custom method
◉
Setting font size and alignment for Swing buttons
◉
Understanding how BorderLayout manages component resizing
◉
Simple #JavaUIDesign patterns in Java Swing
Key Concepts & Highlights
◉
BorderLayout’s five regions: NORTH, SOUTH, EAST, WEST, CENTER
◉
Reusing UI components with a custom JLabel factory method
◉
Applying background/foreground colors for better UI clarity
◉
How preferredSize affects BorderLayout region sizing
◉
Practical layout design tips for building cleaner Swing UIs
Key Concepts & Highlights
◉
How #BorderLayout positions components in five main regions
◉
Setting NORTH and SOUTH components using JLabel
◉
Customizing colors, fonts, and preferred sizes in Swing
◉
Why BorderLayout stretches components horizontally
◉
Practical #GUILayout design tips for beginners
Key Concepts & Highlights
◉
Building a complete #TicTacToe game using Java Swing components
◉
Implementing player name input with a custom JFrame
◉
Using JButton arrays for dynamic board interaction
◉
Detecting win conditions with row, column, and diagonal checks
◉
Updating scores and displaying turn status in real time
Key Concepts & Highlights
◉
Creating a JComboBox with default selected index
◉
Handling item selection using ActionListener
◉
Updating a JLabel dynamically based on user choice
◉
Using null layout and setBounds for manual UI placement
◉
Implementing interactive UI logic with switch statements
Key Concepts & Highlights
◉
Creating multiple JComboBoxes with default selected items
◉
Handling JComboBox events using ActionListener
◉
Detecting which ComboBox triggered the event
◉
Using null layout and setBounds for manual component placement
◉
Building a titled JPanel to group related ComboBoxes
Key Concepts & Highlights
◉
Understanding how JComboBox works with String arrays
◉
Adding ActionListener to detect user actions
◉
Difference between comboBoxEdited and comboBoxChanged
◉
Making JComboBox editable for user text input
◉
Using null layout and setBounds for manual positioning
Key Concepts & Highlights
◉
Using null layout to manually position components
◉
Creating transparent panels with RGBA colors
◉
Adding titled and line borders to JPanels
◉
Layering multiple panels on top of each other
◉
Adding buttons and labels inside custom panels
Key Concepts & Highlights
◉
Using null layout in a JFrame
◉
Adding JLabel with custom font and color
◉
Adding non-editable JTextField
◉
Adding JButton and handling click events
◉
Setting frame size, location, and close operation
Key Concepts & Highlights
◉
Creating a JFrame and setting its title
◉
Setting size and background color
◉
Retrieving screen dimensions with Toolkit
◉
Changing cursor and frame visibility
◉
Configuring close operation and location
Key Concepts & Highlights
◉
Searching for specific words using Scanner
◉
Counting spaces and splitting text manually
◉
Using next() to read words from a long string
◉
Word-by-word comparison with .equals()
◉
Basic text-processing logic in Java
Key Concepts & Highlights
◉
Building pyramid patterns using nested loops
◉
Printing inverted pyramid shapes with spacing logic
◉
Managing user input using Scanner
◉
Controlling rows, spaces & stars in loop structures
◉
Pattern printing fundamentals for beginners
Key Concepts & Highlights
◉
Creating files using the File class
◉
Writing text into files with FileWriter
◉
Reading files byte-by-byte using InputStream
◉
Understanding createNewFile(), write(), and read()
◉
Handling basic file I/O operations in Java
Key Concepts & Highlights
◉
Creating and managing ArrayList objects
◉
Using add() to insert elements
◉
Combining lists with addAll()
◉
Printing ArrayList contents
◉
Merging multiple lists into a single collection
Key Concepts & Highlights
◉
Counting letter occurrences using loops
◉
Using charAt() to analyze characters in a string
◉
Calculating percentage of a specific letter
◉
Iterating through a custom alphabet string
◉
Handling multi-line strings and Unicode characters
Key Concepts & Highlights
◉
Calculating profit using methods with return values
◉
Using Scanner to read user input in Java
◉
Computing profit percentage with formulas
◉
Reusing methods for cleaner and structured code
◉
Printing formatted results to the console
Key Concepts & Highlights
◉
Storing mixed data types inside an Object array
◉
Detecting runtime types using getClass()
◉
Casting String, Double, Integer and applying operations
◉
Difference between equals() and == in Java
◉
Using Unicode characters and numeric literals
Key Concepts & Highlights
◉
Void vs return methods
◉
Calculating averages in return values
◉
Converting to uppercase with methods
◉
Generating random integer arrays
◉
Writing reusable utility methods