AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ottimizziamo:Image vs bufferedImage e Jpanel vs Canvas

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
bho
Guest





PostPosted: Fri Aug 18, 2006 2:14 pm    Post subject: Ottimizziamo:Image vs bufferedImage e Jpanel vs Canvas Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.