Java Applet which draws a graphic
For a job at school, I have to create an java applet which draws a graphic like Excel. Here is an example of what I have to do :
It is the first time that I work with java applet and I have to give my job back very soon. Can anybody help me?
Explanation on how to do it and sources are welcomed.
Dens (from south of France)
The surrounding parts should be easy (just regular components). The middle would be a custom drawing component (extend JPanel, override paintComponent()), with lines (Graphics.drawLine()) and rectangles (Graphics.fillRect()). You can switch colors with Graphics.setColor()
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