Try { //set shape decoration to be decorativeJframe.setdefaultlookandfeeldecorated (true); //Set AppearanceUimanager.setlookandfeel (NewSubstancebusinessblacksteellookandfeel ()); //Set ThemeSubstancelookandfeel.setcurrenttheme (Newsubstancebottlegreentheme ()); //Set SkinSubstancelookandfeel.setskin (NewFindingnemoskin ()); //Set Button AppearanceSubstancelookandfeel.setcurrentbuttonshaper (NewStandardbuttonshaper ()); //Set WatermarkSubstancelookandfeel.setcurrentwatermark (NewSubstancestripewatermark ()); //Set BorderSubstancelookandfeel.setcurrentborderpainter (NewStandardborderpainter ()); //Set Gradient RenderingSubstancelookandfeel.setcurrentgradientpainter (NewStandardgradientpainter ()); //Set TitleSubstancelookandfeel.setcurrenttitlepainter (NewMatteheaderpainter ()); } Catch(Unsupportedlookandfeelexception ex) {ex.printstacktrace (); }
Try { //set shape decoration to be decorativeJframe.setdefaultlookandfeeldecorated (true); //Set AppearanceUimanager.setlookandfeel (NewSubstancelookandfeel ()); //Set ThemeSubstancelookandfeel.setcurrenttheme (Newsubstanceebonytheme ()); //Set SkinSubstancelookandfeel.setskin (NewNebulabrickwallskin ()); //Set Button AppearanceSubstancelookandfeel.setcurrentbuttonshaper (NewClassicbuttonshaper ()); //Set WatermarkSubstancelookandfeel.setcurrentwatermark (NewSubstancebinarywatermark ()); //Set BorderSubstancelookandfeel.setcurrentborderpainter (NewStandardborderpainter ()); //Set Gradient RenderingSubstancelookandfeel.setcurrentgradientpainter (NewStandardgradientpainter ()); //Set TitleSubstancelookandfeel.setcurrenttitlepainter (NewFlattitlepainter ()); } Catch(Unsupportedlookandfeelexception ex) {ex.printstacktrace (); }
Two combinations of substance personal preference in Java swing