Bonjour,

Je cherche à faire une applet ImageJ et à y insérer des plugins.
Ma question est : Comment inséré des plugins dans l'applet ?

J'ai suivi un tuto d'imageJ :
When running ImageJ as an unsigned applet, the class loader that loads user plugins will not work as the plugins folder is not in the code base. Add a package statement such as package ij.plugins to the plugin code and insert the compiled class into ij.jar (be sure to include it into the right folder). To make the plugin appear in the plugins menu add a line like
plug-in08="Plugin",ij.plugin.Plugin_
to the plugins section in IJ Props.txt, which is also located in ij.jar.
You can edit ij.jar with a program that reads ZIP files. Some of them (e. g. WinZip) support editing a file from the archive directly and will update the archive after closing the modified file. Otherwise it is necessary to extract IJ Props.txt from the archive and add it again after editing.
Mais rien n'y fait, je me chope toujours une erreur de type
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
java.lang.NoClassDefFoundError: ij/plugins/HSB_Stack_Splitter (wrong name: HSB_Stack_Splitter)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
Merci d'avance