• Post Reply Bookmark Topic Watch Topic
  • New Topic

Launching QuickTime player at click event

 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all,

I am developing an application which has on a JFrame a link which on click should open a .mov file. I haven't work on this before so i just want some suggestion on this issue.Any sort of tutorial based on launching a player using Java will be of great help.

Thanks and Regards,
--Girish--
 
Rob Spoor
Sheriff
Posts: 20819
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.awt.Desktop#open should open the default player.

Otherwise use java.lang.Runtime#exec or java.lang.ProcessBuilder to start the following command:

[ October 08, 2008: Message edited by: Rob Prime ]
 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You very much sir...,I have got it working...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!