Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to change the colour of JavaFx Tab header's background

3081639Nov 21 2018 — edited Nov 24 2018

Is there a way to change the background of a Tab programmatically? I know I can use CSS to change it but my in user interface I want the user to know that something has happened on a tab that may be open when the external event arrives. Hence the need to change the tab header's background. Ideally I hope I can run an animation and flash the selected tab.

Comments
Post Details
Added on Nov 21 2018
2 comments
4,838 views