-
flicker in canvas, but not in component
I wrote a new awt component and derived it from java.awt.Component. I overwrote
update(Graphics) (which now simply calls paint(Graphics)) in order to avoid
flicker. The component has double buffering.
Now I changed the ancester from java.awt.Component to java.awt.Canvas and
now it flickers when it is in a ScrollPane and the user scrolls. This is
not the case when derived from Component.
What can I do? I need the component to be a child of Canvas!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks