-
Java 2D - multiple images
Hi
i have the initial GUI and when i press a specific button.
Then the program reads some data from a file.
The data of the file contain information about some shapes.
This information include the type of shape(rectangle, circle...)
I want to create an application which creates these shapes
and add them progressively, in a new frame,
without removing the old ones from the frame.
Also i want to place these shapes, each in different location,
according the location of the previous one
i would be very grateful for any help
thanks
-
Make a class for the shapes and store them in an arrayList and loop this list in the
frame's paint/update method.
If you want more help then post your current code.
eschew obfuscation
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