Type: Posts; User: Fubarable
Search: Search took 0.12 seconds.
- 07-21-2013, 05:06 AM
If you have to build a professional program, then your best bet is to hire someone who knows what they're doing. Regardless of tools or frameworks, there's no way that you will be able...
Then use a debugger for before you can solve an error, you must first identify it.
- 07-17-2013, 03:52 AM
Please use code tags when posting code. You've been asked to do this several times. You may edit your above post and add the tags.
- 07-14-2013, 06:12 AM
Something on the offending line is null. Here's the line:
You can test it to see which:
No, it's saying that it does not know what the Point type is since you didn't import it. In short, you're missing the import statement.
Actually, they are quite helpful 99% of the time, as...
You should update the JComboBox's model, not the JComboBox itself.
Your code does not appear to abide by Swing's threading rules in that you appear to have long-running code tying up the Swing...
- 07-03-2013, 10:40 PM
I need a pony, and it's pretty darn urgent too.
To see if code is correct, test it. Does it compile? Does it behave correctly? You should be able to answer that yourself.
For more help, please do not private message. Post your code attempt with...
This doesn't make sense. If the ArrayList holds Integers there is no way to do this since 0-5 is meaningless as an Integer. I think that you have a basic confusion of a number vs the String...
The red square will go away as you accumulate positive reputation. It is probably there due to my giving negative rep for one of your instances of spoon-feeding answers.
Do you have code for a DragGestureHandler class?
It sounds like what you're trying to do is to double-buffer your graphics. Swing does this automatically for you if you draw in a paintComponent method of a JComponent-derived object, which it...
Overriding suggestion that has nothing to do with your actual question but all to do with your problem: don't override the update(Graphics g) method of a Swing GUI. This is done for AWT GUI's but not...
- 06-29-2013, 05:10 AM
Two question threads have been merged. Let's try to avoid splitting the discussion into multiple threads.
- 06-28-2013, 02:20 AM
Please avoid use of non-standard abbreviations. Understand that for many volunteers who help here English isn't a first or even second language. Also when asking programming questions you should...
This is probably the most irritating question title that we've had in a while. I'm not sure about others, but it has the opposite effect on me -- I really don't want to help anyone who does this.
I don't know about the others, but I'm still stumped as to what your actual current problem is. I'll be glad to help if you're willing to put more effort into the question.
Consider your thread title to be similar to the headline of a newspaper article. It should succinctly on a single line and specifically summarize the content of your question. Your title is succinct...
When doing Comparable, you're not calling it on an int but rather on the object of a reference class that implements the interface. The "a" portion is the object itself, the "this" that is calling...
Why? They're usually my first resort.
- 06-23-2013, 11:37 PM
I've posted what I know in my note above your last note. Did you check out the link in that reply? If that doesn't help, then keep trying to contact them or search for a support site to post...
Look up use of a Java Scanner object. It's full class name is java.util.Scanner.
- 06-23-2013, 09:10 PM
Other suggestions: if you're running a 64 bit processor, be sure that you're using the 64 bit JVM. Look here for more information and general suggestions.
- 06-23-2013, 08:56 PM
It's a Java error caused by your use of "JPCSP PSP emulator". I would contact whoever supports this emulator.
- 06-23-2013, 07:25 PM
This incomplete method:
public static double expression(int aFirst,int aSecond)
return aFirst + aSecond;
doesn't make much sense, and even if it were complete, it...
Results 1 to 25 of 500