|
I like your answer............ People need to read before posting or asking questions......
|
|
|
|
|
I am not sure about it but this link[^] might help you.
|
|
|
|
|
i need code in java(J2EE) for implementation of firewall...itz urgent...
plz send me the full code...thank u..
|
|
|
|
|
It's not urgent. If you need code then you need to write it yourself or pay for it.
|
|
|
|
|
It's also SO urgent - plz send me the full money!
regards
Torsten
PS: No, I don't have the code, but I would take the money anyway!
I never finish anyth...
|
|
|
|
|
Before asking for the whole code, why don't you first try it yourself and then if you have difficulties, people here will be happy to help. But asking for codes directly is not good. No one here is working for you we are just wanting to help those who help themselves..........
|
|
|
|
|
that's the best thing........... no noe should ask the whole codes here........
|
|
|
|
|
First, Do google, Try yourself something, do some RnD, then come here with doubts and ask it.
***** Programme comme si dept soutien technique. est plein de tueurs en série et ils savent adresse de votre domicile. *****
|
|
|
|
|
I need a few very large ( >= 500K loc ) opensource Java and C# source code repositories to test some ideas. Do you know any?
Thanks,
|
|
|
|
|
isn't SourceForge[^] the one to go with? I actually don't even know others
Does it need to be a repository? Otherwise you could go with a service like dropbox or so.
regards
Torsten
I never finish anyth...
|
|
|
|
|
I mean single large project
|
|
|
|
|
There are lots of projects in sourceforge and also in Codeplex[^]; go and have a look.
|
|
|
|
|
Hi Richard,
I know. I just wanted to get specific project names. I got them. Thanks.
|
|
|
|
|
|
hi for all
(SORRY FOR MY BAD ENGLISH)
please i want this jar file
javax,microedition
free
thank you all
|
|
|
|
|
is Google down again? one can't depend on faulty services like that!
call it Java ME[^]
regards,
Torsten
I never finish anyth...
|
|
|
|
|
i did not find the jar file i want
maybe i am weak in searching
please if you have a download link help me
(SORRY FOR MY BAD ENGLISH)
and thank you too much
|
|
|
|
|
You did not find "a jar file" because there is no jar file.
You are talking about JAVA ME. That's a complete runtime.
Let's get it in another way:
- What are you trying to do?
- Why do you think you need a jar-file from JAVA ME?
regards
Torsten
I never finish anyth...
|
|
|
|
|
i know it is J2ME
i am going to make a chat program work in all mobiles in my country
so i need j2me
i found small example
j2me with php with mysql
i am going to understant that code
but the code import javax.mircoedition like this
import javax.microedition.lcdui.Command;
import javax.microedition.rms.*;
...etc
so i need that
but you say that javax is not a jar
so how can i use it to correct my code
thank you very much
mabye my questions is not good , i am really thank you
(SORRY FOR MY BAD ENGLISH)
|
|
|
|
|
OK, so you want to work with it.
Java ME JDK 3.0[^]
download that JDK and install it. Setup the project preferences, so that it points to this JDK (you might need to import it first into the IDE).
Afterwards you should be able to address the Java ME.
Eclipse:
setup Project Preferences: right click on project -> preferences -> Java Build Path
importing JRE or JDK: Window -> Preferences -> installed JREs
Netbeans:
setup Project Preferences: ???
importing JRE or JDK: ???
regards
Torsten
I never finish anyth...
|
|
|
|
|
i am getting this errror when i try to run the file on java netbeans..it doesnt record the voice and compares...can anyone please reply to this problem.
thank you
Exception in thread "AWT-EventQueue-0"
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)
at voice.AdminForm.access$200(AdminForm.java:24)
at voice.AdminForm$3.actionPerformed(AdminForm.java:77)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6267)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0"
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)
at voice.AdminForm.access$200(AdminForm.java:24)
at voice.AdminForm$3.actionPerformed(AdminForm.java:77)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6267)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
|
|
|
|
|
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...
|
|
|
|
|
same program works in one system,but not in another ...
do u need any specific audio driver or any software since its shows error in audiofile..
there is a error shown in this line of audio system..
target Dataline=(TargetDataline)Audiosystem.getLine(Info);
i have problem recording voice..it doesnt enable the stop button when start record is click.
|
|
|
|
|
public static Line getLine(Line.Info info) throws LineUnavailableException {
LineUnavailableException lue = null;
List providers = getMixerProviders();
// 1: try from default mixer for this line class
try {
Mixer mixer = getDefaultMixer(providers, info);
if (mixer != null && mixer.isLineSupported(info)) {
return mixer.getLine(info);
}
} catch (LineUnavailableException e) {
lue = e;
} catch (IllegalArgumentException iae) {
// must not happen... but better to catch it here,
// if plug-ins are badly written
}
// 2: if that doesn't work, try to find any mixing mixer
for(int i = 0; i < providers.size(); i++) {
MixerProvider provider = (MixerProvider) providers.get(i);
Mixer.Info[] infos = provider.getMixerInfo();
for (int j = 0; j < infos.length; j++) {
try {
Mixer mixer = provider.getMixer(infos[j]);
// see if this is an appropriate mixer which can mix
if (isAppropriateMixer(mixer, info, true)) {
return mixer.getLine(info);
}
} catch (LineUnavailableException e) {
lue = e;
} catch (IllegalArgumentException iae) {
// must not happen... but better to catch it here,
// if plug-ins are badly written
}
}
}
// 3: if that didn't work, try to find any non-mixing mixer
for(int i = 0; i < providers.size(); i++) {
MixerProvider provider = (MixerProvider) providers.get(i);
Mixer.Info[] infos = provider.getMixerInfo();
for (int j = 0; j < infos.length; j++) {
try {
Mixer mixer = provider.getMixer(infos[j]);
// see if this is an appropriate mixer which can mix
if (isAppropriateMixer(mixer, info, false)) {
return mixer.getLine(info);
}
} catch (LineUnavailableException e) {
lue = e;
} catch (IllegalArgumentException iae) {
// must not happen... but better to catch it here,
// if plug-ins are badly written
}
}
}
// if this line was supported but was not available, throw the last
// LineUnavailableException we got (??).
if (lue != null) {
throw lue;
}
// otherwise, the requested line was not supported, so throw
// an Illegal argument exception
throw new IllegalArgumentException("No line matching " +
info.toString() + " is supported.");//line 459
what could be the error
}
|
|
|
|
|
search for line 459 in your code. There is the problem. You're throwing multiple IllegalArgumentExceptions in this, I can't determinate which is reacting.
What I can tell you: the exception is just the consequence, the failure itself is produced before. So you need to find out who is calling that method and what that calling function is handing over to the getLine()-method.
regards
Torsten
I never finish anyth...
|
|
|
|