Création d'une image avec un composant

chgw Messages postés 3 Date d'inscription mercredi 14 avril 2004 Statut Membre Dernière intervention 1 juillet 2004 - 1 juil. 2004 à 10:19
wargre Messages postés 649 Date d'inscription mardi 8 juin 2004 Statut Membre Dernière intervention 9 septembre 2004 - 1 juil. 2004 à 10:25
Bonjour,
J'ai un composant que je voudrais transformer en image. Est-ce possible? Si oui comment?
Merci d'avance.

1 réponse

wargre Messages postés 649 Date d'inscription mardi 8 juin 2004 Statut Membre Dernière intervention 9 septembre 2004 7
1 juil. 2004 à 10:25
BufferedImage graph=new BufferedImage(....);

componentAImager.paint(graph.getGraphics);
0
Rejoignez-nous