Bonjour,
J'ai téléchargé un jar pour changer mon LookAndFeel. Je l'ai rajouté à mon PATH, Sauf qu'à l'exécution, l'apparence ne change presque pas et en console j'ai ceci:
Voici mon code:TinyLaF v1.4.0
'Default.theme' not found - using YQ default theme.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 public static void main(String[] args) { Toolkit.getDefaultToolkit().setDynamicLayout(true); System.setProperty("sun.awt.noerasebackground", "true"); JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); try { UIManager.setLookAndFeel("de.muntjak.tinylookandfeel.TinyLookAndFeel"); } catch(Exception ex) { ex.printStackTrace(); } Fenetre fenetre = new Fenetre(); SwingUtilities.updateComponentTreeUI(fenetre);////// new FrameController(fenetre); }
Partager