2

I saw the tabs in this example in the Oracle website. How can I style JavaFx tabs to look like them? (Btw, is there a method to download that source code? I can't find the download link)

Generally I'm looking some free CSS styles which could be applied to JavaFx components for creating awesome view. I'm not a graphist and I can't make them myself. Certainly I don't mean that I'd like to use a WebView. I want styling just for JavaFx components. I would thank you if you also help me about this!

Johnny
  • 1,509
  • 5
  • 25
  • 38

1 Answers1

3

Download the JavaFX samples from the JDK 7 download page.

Unzip them, and you'll find the css file in src/DataApp/DataAppClient/src/com/javafx/experiments/dataapp/client/dataapp.css

James_D
  • 201,275
  • 16
  • 291
  • 322
  • Ah! Thanks, you are right! There wasn't the compiled jar file so I couldn't find it. – Johnny Apr 18 '14 at 18:58
  • Could you take a look at this question https://stackoverflow.com/questions/71665510/weird-corners-in-tab-headers-in-javafx – Pavel_K Mar 30 '22 at 09:41