I am looking for a easy to use library in java that can convert a video into arrays(corresponding to frames). Arrays will be used for frame processing with standard algos like GMM
Hi all
i have created a java application which uses data from its config folder and , it also uses third party jar files those are located in lib folder, could anyone tell me how to create jar file for this project with the content stored in config file and lib folder.
i tried creating jar using eclipse export functionality. when i run this jar file, it says it can not find the third party libraries that i have used for this project and configuration file.
thanks in advance for any help
What would be the best way to wait for a return key press from the user using the Java Scanner Class?
In a command line tool I would like the user to confirm before carrying out an action.
Please correct me if there a more standard way of doing this in a command line tool.
I need to get the minimum and maximum values in a collection of floating point values, after applying an absolute value conversion. In python I would do this
min(map(abs, [-5, -7, 10, 2]))
how can I perform the same operation in java in the most elegant way?
I have started making some small Java games that run in a browser and have found a couple of game portals where I can host then (GameJolt.com, JavaGameTomb.com and Games4j.com). Most of the other portals I find either only allow Flash or offer the games for download.
Apart from those above, what other portals exist that allow hosting applets?
Can anyone tell me how to stream my desktop through sockets in Java? I tried using screen captures and sending them 1 at a time but it's no good. Too slow! I think to redirect the video stream would be better.
In python I can construct a HTML string without worrying about escaping special characters like < or " by simply enclosing the string in triple quotes like:
html_string = """
<html>
<body>
<p>My text with "quotes" and whatnot!<p>
</body>
</html>
"""
Is there a similar way to do this in Java?
Why do we use reverse domain name like com.something. or org.something. structure for java packages?
I understand this brings in some sort of uniqueness, but why do we need this uniqueness?
Is there anyway to make web service calls from a Java client app. (Apache Axis based) in parallel? Does async style Web Service client (Apache Axis based) help?
Is there any way I can get system info, like processor/ram etc (preferably cross platform, in browser)?
I am looking to implement this in a website, so I need it in either flash or a java applet.
Hi everyone,
I have a double number like 223.45654543434 and I need to show it like 0.223x10E-3
for example,
how can I do it in java????????
URGENT!!!!!!!!!!!
thanks!
Im using Java to create a maze of specified "rows" and "columns" over each other to look like a grid.
I plan to use a depth-first recursive method to "open the doors" between the rooms
(the box created by the rows and columns).
I need help writing a openDoor method that will break the link between rooms.
I have a java.util.Set<City> cities and I need to add cities to this set in 2 ways:
By adding individual city (with the help of cities.add(city) method call)
By adding another set of cities to this set (with the help of cities.addAll(anotherCitiesSet) method call)
But the problem in second approach is that i don't know whether there were any duplicate cities in the anotherCitiesSet.
I want to do some processing whenever a duplicate entry is tried to be entered in thecities set.
Hi,
I want to develop phone dialer application, the app is to use modem to dial phone numbers and play voice messages .
which java api is to be used,other wise is their opensource IVR paltform to serve that ?
Should a future release of Java deprecate the use of raw types to force the migration to generics? I could also see having raw types not allowed by default but allowing them via a compile flag for legacy code.
Is there a third party library to detect the use of a Java 1.5 library when compiling with a 1.5 compiler with -source 1.4 and -target 1.4? I could use a 1.4 rt.jar in the bootclasspath however I hope there is a better way. To be used, for example, to fail the compile/build if a newer library is used.
I was wondering if it's possible to have a java package setup using a different subversion repository than the rest. Ideally, I would probably go with a different library project, but in the case of BlackBerry, the 3rd party library linking does not work well, so I would like to just separate my UI package into a different repository than the rest so that I can control the UI better for different OS versions, but leave all the other packages the same.
Is this possible?
Per the title, do you find the default Java logging framework sufficient for your needs?
Do you use alternative logging services such as log4j or others? If so, why?
I'd like to hear any advice you have regarding logging requirements in different types of projects, and when integrating frameworks is actually necessary and/or useful.
Is there a well-known implementation, that has friendly open-source licensing (not GPL), of an ECC (error correcting code) library (e.g. Reed-Solomon) for Java?
i am trying to make java application that can get the information from other active window program ...such as information bar or even screenshot of other active window
is JNI the only option in this case?
thanks
Hi all,
I have a matrix.I found the 10th power of matrix using Java.After finding the 10th power,I need to round off the double values to 3 decimal places.Please help me to round off the double values in the matrix to 3 decimal places.
How can I assign this string in a Java String?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
thanks
In Java if an input argument to a method is invalid, we can throw an IllegalArgumentException (which is of type RuntimeException). In C++, there is no notion of checked and unchecked exceptions. Is there a similar exception in standard C++ which can be used to indicate a runtime exception? Or is there a common style not in the standard but everyone follows in practice for a situation like this?
Or, should I just create my own custom exception and throw it?
Hi,
I have a Windows Server that recives mail. These mail contains only 1 single CSV file. I want my server to automatically take the attachment from any incoming mail and send to a java program locally installed. Is there anyone who can give me directions on any programs that fix this or do I need to create some kind of windows service?
Thankful for any help!