Top Java Articles

Opinion
Apr 12, 20072 mins

For the week of September th:

Check out what readers are saying in the JavaWorld Forums:

Arunagiri asks a question about Java and USB: “Is it possible to detect USB devices through java and communicate without any third party utilities? Currently I am looking to send raw data to my USB printer. (Like doing in COM ports). Is it possible?”

biglou568 is helping mpod run a shell script on another server:  “… If I understand what you are trying to do […], you have a java process on sever A and you wish to execute a shell script residing on server B which will start another java process. If this is what you are trying to do and you are working within a Linux/Unix environment, one thing you can do is write a script to reside on server A which would do an ssh to server B, and then execute the shell script on server B. There are a few other ways to do what you are trying to do, but this is by far the simplest.”

Jeroen suggest that a newbie use a ListIterator in answer to the question “say my LinkedList is composed of Point object. say I’m at Point object number 4 in the LinkedList. is there any method that can give me Point 5? after all this is the goal and advantage of linked list”.

Dpearce needs help stopping audio once it is playing: “I have got the audio player from Chong’s article to work. It is called from an external program (Servoy) through a plugin. My only problem is getting the audio to stop. I think i need to pass the Aduiostream back to Servoy and then back to the stop routine. It doesnt seem to work though.”