JDK-8102642 : New modern theme for JavaFX (Modena)
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-01-09
  • Updated: 2015-06-16
  • Resolved: 2013-03-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Relates :  
Sub Tasks
JDK-8102797 :  
Description
JavaFX currently has a default theme called "Caspian" all though  caspian is only 3 years old in some ways it is looking dated now. Also there have been many new influences that have come along since that are effecting peoples opinions of what looks good. The proposed name for the new theme is "Modena" after the Italian city which is home of great cars and bike companies like Ferrari, Lamborghini and Maserati.

Goals of a new theme are:
 
   *   Keep us looking current and modern
   *   Make JavaFX look as good as they can from day one, with no extra work by developer.
   *   Let developers choose between new theme and old or maybe even 3rd party themes.
 
Secondary goals:
 
   *   Make the transition as smooth as possible for people
   *   Set president that we will change the default look of FX from Major version to Major version so we do not get stuck like we did with Swing looking super dated but unable to move forward. While still giving people the option to set a command line flag to go back to old look if they need (or want) to.
   *   Create a single page with all UI Controls that can be used by SQE to maintain Modena looking the same over time.
   *   Make sure the new skin is 100% theme-able. (ie. can change color scheme)
   *   Make it simpler for people to create new themes
   *   Simplify our default stylesheet, try to make it less than 3600 lines
 
Comments
Yes, it exists. Close as verified.
08-07-2013

Modena is complete. Just pending SQE sign off to make it the default theme.
28-03-2013

Implements A360 Feature http://oracleplan.oracle.com/gotoEntity?entityType=FEATURE&entityId=1024518
28-03-2013

Yes, actually there is an NPE that prevents content from appearing. I'm aware of this and currently working on it.
13-03-2013

Modena is done bar a couple known issues: RT-28775, RT-28762, RT-28503, RT-28225, RT-28458, RT-24880 but none of these a blocker and only RT-28775 has major effect. So I think we are ready to turn Modena on by default?
12-03-2013

The shadows on menus require RT-28775 otherwise the menus will not be in the right place.
06-03-2013

Much better...
11-01-2013

Misha - we will not retire Caspian. This will be an additional look. So we will not want to update the golden images but produce an additional set.
09-01-2013

Attached picture of caspian as well for comparison.
09-01-2013

So far I have added ability for developers to switch the look for JavaFX it used to be hard coded to Caspian (the old look). Modena (the new theme) is coming along well. If you want to see and compare the new look you can run the app jfx/rt/apps/experiments/Modena (still work in progress). I have attached a image of new look at this early stage, also showing example of big page that covers all possible controls that can be used as primary golden image test for making sure we maintain quality of visuals over time.
09-01-2013