[EMAIL PROTECTED] wrote:
Yes, you're not supposed to have access to Swing's
 buffer strategy.
In particular, there are cases where Swing doesn't
 use BS.
   Why would you need access to it?

1) Because I want. I want things to be explicit. I don't get why Swing 
shouldn't install its BufferStrategy explicitly into the JFrame if that is what 
it uses. I want to know which strategy it is using now. Why is it faster on 
this screen rather than that machine? etc.

  And from the perspective of an API developer, I don't want you to know =)
  The less you know the easier for me to change things if needed
  without breaking your code.

2) Because I maybe want to change it, to see if my particular setup would work 
better with such or that strategy.
3) I could possibly install a "fake" BufferStrategy, giving all kinds of cool 
possiblities.

  Feel free to install your own Swing RepaintManager and do whatever you
  want, then.. You'll have more control over the repainting.

  But in general you won't be able to get access to Swing's default
  BufferStrategy.

  Thanks,
    Dmitri



Bottom line: Things are better when there is no magic involved.
[Message sent by forum member 'stolsvik' (stolsvik)]

http://forums.java.net/jive/thread.jspa?messageID=298144

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to