Jump to content



Photo

Style Java with CSS


  • Please log in to reply
2 replies to this topic

#1 thatguyandrew1992

thatguyandrew1992

    Neowinian Senior

  • Tech Issues Solved: 4
  • Joined: 22-January 09

Posted 21 November 2012 - 06:26

Hey guys, I want to find the best way to style my Java swing program, and I want to use CSS. I found a lot of articles online, but they are so old, and I found some broken links, so I just wanted to find out; what is the best way to style Java with CSS currently?


#2 +Majesticmerc

Majesticmerc

    Resident Idealist

  • Tech Issues Solved: 8
  • Joined: 24-August 05
  • Location: United Kingdom
  • OS: Arch Linux / Win 7
  • Phone: HTC One X

Posted 21 November 2012 - 22:48

I think you're probably looking for JavaFX. It supports styling with CSS and supports CSS 2.1 and some of CSS3. Linky.

#3 OP thatguyandrew1992

thatguyandrew1992

    Neowinian Senior

  • Tech Issues Solved: 4
  • Joined: 22-January 09

Posted 22 November 2012 - 02:56

Ok cool, thanks!