wood burning stoves 2.0
The moose likes JavaFX and the fly likes Can javaFx do this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Can javaFx do this?" Watch "Can javaFx do this?" New topic

Can javaFx do this?

Alan Blass
Ranch Hand

Joined: Mar 21, 2010
Posts: 146

I am considering to use javafx but I need some advice before I start.

1) I am using javafx to display a web page. I am using it to display videos in MPEG-1, 2 and 4 part 10 formats. Audio is required. I am required to play the videos without any user intervention. I need to play several videos one after another, repeating the cycle, also without user intervention. I also need to replace the video with an image file and after a number of seconds, play a video again.

2) I also need to display a ticker tape/scrolling text on screen.

3) I need to display images of jpeg, png and gif formats, one after another, also without user intervention.

4) I need to display all of the above with x-y position options, that means I specify the position on the web page and the size of the videos, images and scrolling text.

5) I need to display the images, videos and text on the same webpage all at the same time.

Can javafx satisfy these criterias?

Thanks for your advice.
Rob Spoor

Joined: Oct 27, 2005
Posts: 20194

2-5 are not a problem; you can do a lot of animated stuff with timers. Not sure about 1 though; the timing is dependent on the length of the videos. Unless you want to hard code these you'll need to have a listener of some kind that will start the next one once the previous one ended.

How To Ask Questions How To Answer Questions
jan dressen
Ranch Hand

Joined: Oct 25, 2007
Posts: 47
sounds like you trying to build a really annoying spam-banner

but since you can call plain java code in JavaFX, maybe you can use JMF?

I agree. Here's the link: http://aspose.com/file-tools
subject: Can javaFx do this?
It's not a secret anymore!