[prob] tinyLaf utilisation de theme
Bonjour a tous,
j'ai essayé d'utilisé le Look And Feel TinyLaf.
je l’implémente comme ceci:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
public class AffichagePrinc extends JFrame {
.....
public AffichagePrinc() {
super("Replace Dot and Underscore per Space");
.....
try {
UIManager.setLookAndFeel("de.muntjak.tinylookandfeel.TinyLookAndFeel");
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InstantiationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (UnsupportedLookAndFeelException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
setDefaultCloseOperation(EXIT_ON_CLOSE);
this.setMinimumSize(new Dimension(420, 300));
this.setResizable(false);
this.setLocationRelativeTo(null);
ImageIcon icone = new ImageIcon(getClass().getResource(
"/resources/icone.png"));
this.setIconImage(icone.getImage());
setVisible(true);
} |
le probleme est que a l'execution, j'ai ce message dans la console
Citation:
TinyLaF v1.4.0
'Default.theme' not found - using YQ default theme.
voici un screen de l'architecture de mon projet:
http://d20.e-loader.net/MZqw1jEpiy.jpg
Je vois bien qu'il y a des thèmes, mais je ne sais pas comment les utilisé ....
Avez vous une idée pour utilisé ces thèmes?
Je vous remercie d'avance pour votre aide ;)