• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

three questions

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 439
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can open a MSWord document in a different window using this:
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic