Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
Can I play 2 sound-files simultaneously?
I can handle the loading, changing loudness, opening and closing of one file.
How can I load 2 files in separate frames and start the playing with simultaneously hearing.
Put the opening and the playing into two separate threads, then start them. The two threads can be synchronized so the playback starts synchronously.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Consider, I have a simple java program to add 2 numbers. If I run this program in 2 different terminals, in how many JVMs do they run?
Each one has its own JVM instance. That should be obvious to you because the java command is not a system service.
Yes it does, unless you run multiple programs together and use a wrapper that starts each program in a different thread, as you can have multiple threads running within one JVM.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to develope an application which extracts data from another application (the "whatsapp" application) when i am getting an incoming call.
How can I do it?
Maybe relevant guids will help :)
Thanks in advance!
Yogo.
It is generally not possible, unless if the application makes it public, for instance, sharing data via Intent or storing files in a public folder, e.g. in the SDCard.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
I got an application that coded with java.
the application have a same window that i can add some text and hit the send button.
it is sending the test to a server and then print it there.
when i'm writing an English letter i have no problem.
when i'm writing Chinese letter , i can see it on the windows , but when hitting the send button the letter is changed to ??.
and the string that i'm sending to the server is ??.
any idea how i can add the Chinese support here ?
by adding to the bat file -Dfile.encoding=GB2312 the java application support the Chinese char.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I made a java swing application. Now I want to make it auto log out when user is idle.
Is there any way to detect 'idle' in java swing? I have no idea how to do it.
Check out Application Inactivity for one approach.
in swing you can use System.exit(0); to kill your window in any case. In your case I am guessing that you want to logout after a definite time delay then for that you can use thread with your code.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
i need to develop software for capture omr sheet data in java.pl.
If you're looking at music recognition for printed music scores, OpenOMR might provide a solution.
For Optical Mark Recognition have a look at Udai OMR, it is Java and sources are available.