• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

three questions

 
saqib toor
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have three questions
1)We draw a line or any character and we want to redraw this line or character after some time intervals.Which method is used ?
2)can we open any doc file in our java program which is placed in our system?
3)which method is used to play a video clip in java program plz explain it?
Thankz in advance
 
Val Dra
Ranch Hand
Posts: 439
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have three questions
1)We draw a line or any character and we want to redraw this line or character after some time intervals.Which method is used ?
2)can we open any doc file in our java program which is placed in our system?
3)which method is used to play a video clip in java program plz explain it?

Ok let's say you have drawn a line now let's say that some method has reclucated 2 points and now you must update it. what you have to do is just call repaint method and it will repaint the screen and if you are drawing your line in paint method the coord will be new for the position.
2. I guess it depends on what editor you are using , Kawa , JBuilder they support that. I use TextPad the help to docs is not available to me though it , i think. So i just have a reference to their site.
3. To play a video please refer to this link it might have what you are asking for. http://java.sun.com/products/java-media/jmf/2.1.1/solutions/LiveData.html
(edited by Cindy to put in quotes)

[This message has been edited by Cindy Glass (edited May 15, 2001).]
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can open a MSWord document in a different window using this:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic