-
painting problem
Could somebody explain and help me on these?
I am trying to paint on a window.
1. When I put a JPanel extended class in a JFrame, I don't have to override the painting but when I put the same class in another container like splitPane I have to override. Why?
2. When I change the size of a window the painting disappers in the above case but in a Frame it will changed with Frame size? How to get it the same situation with a Frame?
Thanks
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