Si quelqu'un a une solution...
Note : pour réaliser le .jar, j'utilise la fonction Export d'Exlipse, en cochant évidemment les images qui font partie de mon projet pour les inclure dans le .jar. Mais à l'exécution, l'application ne les trouve pas.
), et ça marche


BiHi :
Et l'application:![]()

$ java -version
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
$ java -jar solfege.jar
Exception in thread "main" java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds
at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
at DicteeNotesIHM.loadPreferences(DicteeNotesIHM.java:229)
at SolfegeIHM.<init>(SolfegeIHM.java:44)
at SolfegeIHM.main(SolfegeIHM.java:17)
$
(sous WinXP)