×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Валерий Ишутин
Added: Jul 28, 2014 6:51 PM
Views: 15
Set look_and_feel
  1. try{
  2.     UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
  3. }
  4. catch(Exception e){ }
  5. /**
  6. Известные интерфейсы, идущие по-умолчанию в комплекте с NetBeans:
  7.  
  8. Metal: javax.swing.plaf.metal.MetalLookAndFeel
  9. Nimbus: com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
  10. CDE/Motif: com.sun.java.swing.plaf.motif.MotifLookAndFeel
  11. Mac OS X: com.apple.laf.AquaLookAndFeel
  12. Windows: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
  13. */
  14.