Skip navigation
Use selectors: Learning JavaFX GUI Development
Use selectors: Learning JavaFX GUI Development

In order to identify what parts of our UI needs to be styled, we need to use CSS Selectors. When using CSS in JavaFX, we can use two types of selectors. An ID selector and a class selector. The ID selector can be assigned to any node in our code. We use the setID method to assign a selector to the node. In the CSS file, we identify an ID using the # or hash sign.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 13m
Show More Show Less
Skills covered in this course
Developer Programming Languages JavaFX Java

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now