java.awt.addnotify() not working.please help.
Iam new to awt's & many thanks if someone can help me to resolve the below issue.
The below method is called from a servlet & the expected output is a graphical report in the browser.
public void draw()
System.out.println("before Image 1");
System.out.println("before Image 2");
System.out.println("before Image 3");
System.out.println("before Image 4");
System.out.println("before Image 5");
When I executed the above code ,iam able to see the following in the logs:
before Image 1
before Image 2
before Image 3
before Image 4
Next to that there is no error/exception but the processing gets stuck up here & the frame.addnotify() method doesn't get executed & we get "page cannot be displayed error " in the browser.
Can anyone suggest & help me out.
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