static private void addResource(ShapeActionsDictionnary D, String name, MouseRecognitionActionListener action)
{
InputStreamReader isr = new InputStreamReader(Graphics.class.getResourceAsStream(name));
BufferedReader fichier = new BufferedReader(isr);
try {
D.addShapeAction(new ShapeAction(new MouseShape(fichier), action));
} catch (IOException ex) {
Logger.getLogger(PartitionPanelModeEcriture.class.getName()).log(Level.SEVERE, null, ex);
}
}