Click here to Skip to main content
15,897,226 members
Home / Discussions / Java
   

Java

 
Questionjavax,microedition does any one have it ? Pin
williamroma28-Mar-11 8:56
williamroma28-Mar-11 8:56 
AnswerRe: javax,microedition does any one have it ? Pin
TorstenH.28-Mar-11 19:42
TorstenH.28-Mar-11 19:42 
GeneralRe: javax,microedition does any one have it ? Pin
williamroma28-Mar-11 23:30
williamroma28-Mar-11 23:30 
GeneralRe: javax,microedition does any one have it ? Pin
TorstenH.28-Mar-11 23:39
TorstenH.28-Mar-11 23:39 
GeneralRe: javax,microedition does any one have it ? Pin
williamroma28-Mar-11 23:51
williamroma28-Mar-11 23:51 
GeneralRe: javax,microedition does any one have it ? Pin
TorstenH.29-Mar-11 20:00
TorstenH.29-Mar-11 20:00 
Questionerror with recording the file Pin
jayashree.v28-Mar-11 3:44
jayashree.v28-Mar-11 3:44 
AnswerRe: error with recording the file Pin
TorstenH.28-Mar-11 3:52
TorstenH.28-Mar-11 3:52 
java.lang.IllegalArgumentException: No line matching interface
TargetDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit,
stereo, 4 bytes/frame, little-endian is supported.
at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:459)
at voice.AdminForm.jButtonStartRecordingActionPerformed(AdminForm.java:266)


That's where you should take a look at. There's an IllegalArgumentException thrown at the class AudioSystem / method getLine(), which is Line 459 of that file (please try to set the line count visible if not yet done - > Preferences).

The method getLine() will have at least one argument, which is not valid (probably it's null in this moment). Try to set a breakpoint on that exception and your debugger will show you the problem.

regards
Torsten
I never finish anyth...

GeneralRe: error with recording the file Pin
jayashree.v28-Mar-11 5:18
jayashree.v28-Mar-11 5:18 
GeneralRe: error with recording the file Pin
jayashree.v28-Mar-11 5:26
jayashree.v28-Mar-11 5:26 
GeneralRe: error with recording the file Pin
TorstenH.28-Mar-11 19:39
TorstenH.28-Mar-11 19:39 
QuestionWebCam record in java Pin
Fatema gabr27-Mar-11 11:34
Fatema gabr27-Mar-11 11:34 
Questionhow to record a video in java? Pin
Fatema gabr27-Mar-11 11:03
Fatema gabr27-Mar-11 11:03 
AnswerRe: how to record a video in java? Pin
ankitjoshi245-Apr-11 10:21
ankitjoshi245-Apr-11 10:21 
AnswerRe: how to record a video in java? Pin
Adrabi Abderrahim12-Apr-11 11:39
Adrabi Abderrahim12-Apr-11 11:39 
AnswerRe: how to record a video in java? Pin
csanuragjain16-Apr-11 21:59
csanuragjain16-Apr-11 21:59 
Questionhow to open a website when i press a button in Java Pin
williamroma26-Mar-11 14:22
williamroma26-Mar-11 14:22 
AnswerRe: how to open a website when i press a button in Java Pin
Richard MacCutchan26-Mar-11 21:53
mveRichard MacCutchan26-Mar-11 21:53 
AnswerRe: how to open a website when i press a button in Java Pin
DaveAuld26-Mar-11 22:41
professionalDaveAuld26-Mar-11 22:41 
GeneralRe: how to open a website when i press a button in Java Pin
Richard MacCutchan27-Mar-11 0:52
mveRichard MacCutchan27-Mar-11 0:52 
AnswerRe: how to open a website when i press a button in Java Pin
TorstenH.28-Mar-11 1:19
TorstenH.28-Mar-11 1:19 
QuestionSwing JDialog bug? [modified] Pin
amit ofer26-Mar-11 1:03
amit ofer26-Mar-11 1:03 
AnswerRe: Swing JDialog bug? Pin
TorstenH.28-Mar-11 1:25
TorstenH.28-Mar-11 1:25 
QuestionCrash in java.exe Pin
schki0225-Mar-11 13:31
schki0225-Mar-11 13:31 
AnswerRe: Crash in java.exe Pin
TorstenH.28-Mar-11 1:16
TorstenH.28-Mar-11 1:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.