Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~10K People Reached

21 Posted Topics

Member Avatar for Ipan88

I have little experience with Swing, but I'm guessing that you want to implement a Listener that would check after each keystroke to see what the user was typing. If they were typing the pattern you wanted to match, it could then insert the appropriate text. [URL="http://download.oracle.com/javase/tutorial/uiswing/events/keylistener.html"]Here[/URL]'s a tutorial from …

Member Avatar for Ipan88
0
153
Member Avatar for rusl07cl08

If you got the help you needed, please mark the thread as solved so that other people can reference it later and the other forum members know that their help isn't needed here anymore.

Member Avatar for DarkLightning7
0
2K
Member Avatar for saveme123

Here are the problems that are immediately visible to me: [LIST] [*]In is not defined anywhere in your program. Presumably it's intended to be something that can access the console input. [*]letter has no value inside letterChecking. You probably want to make it a parameter instead of a local variable. …

Member Avatar for saveme123
0
202
Member Avatar for emcyroyale

You're using == to compare Strings. Bad idea. When used with non-primitive types (like Strings), == checks to see whether the two values are references to the exact same object, not whether the objects they refer to are considered equal. "r" and "r" may be equal, but they could be …

Member Avatar for JDCyrus
0
193
Member Avatar for rusl07cl08

Your first problem is simple enough; you wrote (x < 0) where I think you meant (n < 0). Thanks for using CODE-tags, by the way; it makes it easier to help you. For the second problem, you need to give it a try before people on Daniweb will help …

Member Avatar for Akill10
0
668
Member Avatar for ovidiu_b13
Member Avatar for deepak.marur

Is your problem that you need an SMS library for Java? If so, [URL="http://smppapi.sourceforge.net/"]SMPP[/URL] looks promising.

Member Avatar for JDCyrus
0
93
Member Avatar for katara

If you're looking for an implementation of a linked list, try the LinkedList class in the java.util package. If you have questions about using a linked list or implementing your own, please clarify.

Member Avatar for JDCyrus
0
115
Member Avatar for jayvee0890

This seems to contain syntax errors. Specifically, you're using two operators that aren't valid operators: =< (the operator for "less than or equal to" is <=), and %== (I have no idea what this is supposed to be). In future, kindly wrap code in CODE-tags and indent it before posting.

Member Avatar for JDCyrus
0
86
Member Avatar for NaturalSwtHeart

Arrays.sort (in the java.util package) is the way to go in Java. In fact, no matter what language you're working in, if it has a built-in sort function, you should use it rather than writing one yourself. It's easier and also probably faster, since the built-in one is probably highly …

Member Avatar for NaturalSwtHeart
0
128
Member Avatar for JDCyrus

Good evening. I'm having issues related to subprocesses. What I'm trying to do is launch another program that has a command-line mode (Gnucap, in case it matters) as a child process from my Java program, then communicate with it by reading from its standard output and writing to its command …

Member Avatar for JDCyrus
0
202
Member Avatar for ravindraravi

I'm a bit confused. Are you trying to decide which language to use for a project? If so, then 1) you're in the wrong forum (this one is for Java development), and 2) you're unlikely to get meaningful advice unless you tell us more about the project.

Member Avatar for Dhruv Gairola
-1
80
Member Avatar for merdzins

Getters and setters are quite simple. A getter is a method that takes no arguments and returns the value of a particular field. (If you haven't heard the term "field" before, it's the same as "instance variable".) Its return type is the same as that field's type. A setter is …

Member Avatar for JDCyrus
0
102
Member Avatar for anupam.j2ee

You may find Kai Toedter's [URL="http://www.toedter.com/en/jcalendar/index.html"]JCalendar[/URL] library useful; it's available under the [URL="http://www.toedter.com/en/jcalendar/license.html"]GNU LGPL[/URL]. The specific functionality you're talking about is provided by the JDateChooser class.

Member Avatar for peter_budo
0
104
Member Avatar for noydoy
Member Avatar for JDCyrus

Hello. It's been a while since I was on here. I'm writing a Java class with a generic type parameter. Among other things, it maintains an internal ArrayList of the same generic type as itself. In a perfect world, the code would go like this: [CODE=Java]import java.util.ArrayList; public class MyGenericClass<T> …

Member Avatar for JDCyrus
0
183
Member Avatar for haxtor21

It compiles on my system. Is there any chance that line 17 contains a typo in the version on your computer, but not the one you posted here?

Member Avatar for haxtor21
0
117
Member Avatar for Andrew1988

Actually, this program doesn't entirely work. If its first guess is over 50 and the real answer is higher than that, it will raise a ValueError. What you want to do is have a variable to keep track of the lowest number that could possibly be the answer, and another …

Member Avatar for woooee
0
192
Member Avatar for JDCyrus

Hi. I'd like some help with a program that runs over a network. My program uses queue-based distributed computing. Because the computers are all on a LAN and differ greatly in processing power, they receive objects to process only when they request them. (Some can process more than one object …

0
61
Member Avatar for JDCyrus

Hi everyone. I need some help with a subprocess. My Python script uses the os.popen2 function to spawn a non-Python subprocess. Now it needs a way to send a Ctrl-C interrupt or something equivalent to the subprocess. Does anyone know how to do this? Thanks in advance!

Member Avatar for woooee
0
5K
Member Avatar for JDCyrus

Hi everyone. I just found this site today and I decided to join. I'm an amateur programmer, Python mostly, and I'm hoping I'll have a good time and be able to get some support here. See you all around!

Member Avatar for selfhelpebooks
0
55

The End.