This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Any simple (and up to date) Java frameworks for embedding movies within a Swing Application?
I need to implement such situation, in full screen on desktop, some player playing the video, and during some periods of time my java program has to show some text in some part of screen appearing with animation and after that again hides. But during all the time the video has to be continue playing in full screen.
Which suggestion could you give me ?
Thanks in advance.
I didn't try it myself, but I think you may find this useful:
http://lobobrowser.wordpress.com/2008/12/29/javafx-video-in-a-swing-application-technically-doable/
If you don't know javaFX, you can try out JMF, it is relatively easy and you don't need to learn a new ttechnology. Here is a tutorial on playing video using JMF: http://www.deitel.com/articles/java_tutorials/20060422/PlayingVideowithJMF/ . But as far as I know, there are some problems in JMF and oracle has no plan to improve it in future.
Related
This question already has answers here:
How to use JavaFX Preloader with stand-alone application in Eclipse?
(2 answers)
Closed 7 years ago.
I was wondering what are the specific differences between preloader and splash screen in java. It seems to me that both the features gives the same output (i.e. holding the attention of the end user while loading the main application) but have different technique and system to implement.
Theoretically the specific differences between them would help a lot. TIA.
Assuming that you are talking about JavaFx ... this document from Oracle states that:
Initially there is a splash screen; so that would be the very first panel shown to the user; right after startup; to let him know that something is going on
And then some time later, the JavaFx is turning into "preparation" mode ... including the "preload" stuff
Of course, depending on your context; there might be other definitions. Back in the good old days of AWT or Swing; one would implement a splash screen completely by himself (and for example try to only use AWT components to do that; to avoid the noticeable delay that kicks in when using Swing components to achieve the very same thing).
I've looked up multiple options for embedding a MP4 video into my GUI. I seen many people advise against using swing because it's old. I've done many GUI's with adding image icons and such but never tried embedding a MP4 video until now. Is there a simple way to embed my MP4 video into my GUI such as how Image Icons are added? Also is there a method that will keep this video on replay until the application closes? such as a video.repeat(true); or something of that nature? Thanks for all the help ahead of time.
I don't know if/how it is possible in pure Swing, but you can embed a JavaFX MediaPlayer in your Swing application, see details here: https://stackoverflow.com/a/16326393/1149528 or here: Can't play mp4 converted file - JavaFX 2.1
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to make a launcher
I want to make a launcher something similar to go launcher which changes all the icons and stuff... Currently I wanna know where should I start from? I need to make a very simple launcher so any sample code will be appreciated. Thanks!
Any helpful codes I should know or any tips?
There is a Launcher sample app included in the SDK samples that has some simple launcher code that you could base your app on. I doubt there's any simpler code available than that one.
I understand this question has been asked many times before, but after searching all of the answers seem to be outdated (by two or more years) so I thought it reasonable to ask it again.
What libraries are available to read and display video files (such as .avi and similar) in java? I am currently using lwjgl, and cannot easily change to a different library, so please limit suggestions to those compatible with lwjgl.
What I'm trying to do is create a fullscreen display using lwjgl, display the video (with audio synced) as an intro, then either when the video is finished or forcefully skipped continue to the main menu.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
android OCR?
I want yo build an app that have an OCR scanner using camera and detect a text from a paper and convert in into regular text. a simple program. How i can do this? What is the simplest way?
There was a time when this seemed like a bad idea, but doesnt seem like a bad idea.
I guess u can use Tesseract OCR Tool, an open source alternative by Google. How to integrate that in Android is simple via Tesseract Android Tools
A good guide on how to do it is also well documented at http://rmtheis.wordpress.com/2011/08/06/using-tesseract-tools-for-android-to-create-a-basic-ocr-app/
Let us also know how this goes for you.