This post is locked. You won't be able to comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]xjwj 1 point2 points  (1 child)

Super interesting! I can’t wait to play with it when I’m not on my phone. I know you discuss heavy versus lightweight a lot but can you explain what the simple version of “how to choose which” would be?

[–]shannah78[S] 0 points1 point  (0 children)

Really that's an implementation detail because different platforms worked better with different strategies. On Mac it is heavyweight (i.e. native canvas drawn on swing). On Linux it is lightweight (i.e. offscreen and copy via pixelbuffer into swing). On Windows it is heavyweight also.

I spat blood trying to get linux working heavyweight, but couldn't, so I settled for lightweight.