-
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|