 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
bho Guest
|
Posted: Fri Aug 18, 2006 2:14 pm Post subject: Ottimizziamo:Image vs bufferedImage e Jpanel vs Canvas |
|
|
Ciao a tutti, considerando un po' tutti gli aspetti, quando dovrei
usare semplici Image e quando BufferedImage? quali sono gestite più
velocemente?
Io ora quando devo caricare una immagine la salvo sempre in un
bufferedimage e poi crea la sua controparte
compatibile:graphicsConfiguration.createComptaibleImage(BufferedImage).
Va bene o c'è di meglio? in questo modo ho letto che le immagini
vengono caricate anche in VRam.
Per quanto riguardo dove disegnare e come, è meglio utilizzare un
Cnavas e gestirsi da soli il doppio buffer o usare un componente swing
come un Jpanel dove il doppio buffer è gestito automaticamente?
A voi la parola! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|