Results 1 to 4 of 4
Thread: Question
- 12-08-2008, 01:16 PM #1
Member
- Join Date
- Dec 2008
- Posts
- 2
- Rep Power
- 0
- 12-08-2008, 01:25 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What's your exact requirement here?
- 12-08-2008, 01:29 PM #3
Member
- Join Date
- Dec 2008
- Posts
- 2
- Rep Power
- 0
The image are created on a timer and which variables are stored on a vector which make it continuously duplicating..is there a method i can use to delete a picture if it reaches a certain maximum limit?
- 12-09-2008, 05:07 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I think you are using Swing timer. In that case it's possible, working on with drawImage() method in Graphic class.
Add all images into an array, actually image names. Then read all images into an Image[] array using read() method of ImageIO class. Get the panel on the frame and repaint it with each image.
Similar Threads
-
Question mark colon operator question
By orchid in forum Advanced JavaReplies: 9Last Post: 12-19-2010, 08:49 AM -
ur help on my question
By jameela in forum New To JavaReplies: 4Last Post: 10-13-2008, 12:38 PM -
JSP Question
By maheshkumarjava in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 03-29-2008, 10:51 AM -
a question
By slytheman in forum Java ServletReplies: 0Last Post: 03-12-2008, 04:11 AM -
question about rmi
By leonard in forum New To JavaReplies: 1Last Post: 08-06-2007, 04:19 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks