Save this video free

UNC COMP 301 - F26/Lec 17 - JavaFX (part 2)

Muhammad Sayeed Ghani · 1:15:02 · Watch on YouTube

Part of UNC Chapel Hill COMP 301. See all 19 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Muhammad Sayeed Ghani develops the JavaFX concepts introduced in COMP 301 by showing how to configure IntelliJ to run and debug JavaFX, how scene graphs organize UI nodes, and how event handlers switch scenes. He also demonstrates VBox, HBox, BorderPane, and GridPane layouts, then explains inline and external CSS styling, including JavaFX's -fx- property names and reusable label selectors.

Key takeaways

Chapters

0:00 Assignment 7, Midterm 2, and JavaFX Lecture Plan
1:05 JavaFX Recap: Stages, Scenes, Panes, and Button Events
6:18 Configure IntelliJ VM Options for JavaFX
11:35 Debug JavaFX Applications and Use a Launcher Workaround
17:12 Scene Graphs Represent JavaFX UI as Trees
21:00 JavaFX Node and Parent Class Hierarchy
24:14 Build a Form with TextField, VBox, and HBox
28:20 Print a Scene Graph with Recursive Depth-First Traversal
35:10 Demonstrate Scene Switching on a JavaFX Stage
38:30 Handle Scene Changes with setOnAction and Inspect UI Objects
48:55 Choose JavaFX Layout Panes for Different Arrangements
51:10 Combine BorderPane and GridPane in a Form Layout
59:30 Separate JavaFX Presentation from UI Structure with CSS
1:04:10 Set Inline JavaFX CSS Colors, Font Size, and Backgrounds
1:11:00 Attach an External Stylesheet and Reuse Label Selectors

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 I hope you're aware that assignment number seven was issued last night. Um, it's going to be due the late due date is a couple of days after the second midterm, which as you hopefully know uh is coming up a week from Thursday. Um, so as usual I should be giving out some sample questions regarding midterm two. We should be having a review session as well by we do hopefully sometime. I don't think it's been scheduled as yet. Um, what else? Uh, so as usual it will cover all the material from lecture one up till uh this Thursday. Tuesday's lecture will not be covered.

0:46 Um, and however I do focus normally on stuff which is covered which has been covered after the first midterm. All right? Um, any questions regarding the midterm? If not, let's proceed. Um, so in the last lecture we had our initial discussion on JavaFX. Today we're going to be spending more time on JavaFX and presumably hopefully mostly completing everything regarding JavaFX. We might have a bit of stuff left over for the next lecture and then we might start um a new topic on model view controllers on Thursday and we'll see how much of that is covered as far as the midterm is

1:33 concerned. Right, so in the last lecture we went over JavaFX and we had a fair number of examples. We'll be looking at a whole bunch of other examples today starting with taking a look at how we can actually run JavaFX slightly in a slightly more organized manner. Manner, um so in the previous scenario we were using a plugin to run JavaFX. so out a way to avoid that and also that also allows us to be able to debug and take a look at the

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Muhammad Sayeed Ghani.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.