Search:
Type: Posts; User: Barancle
Search:
Search took 0.04 seconds.
-
June 12th, 2004, 12:15 PM
What is the problem? It's hard to help without that.
-
Oh, was this already asked (if so was it answered?). I'd look but that thread (79 pages long!!!) is just too much to sift through.
-
Well, I'll let it sit for a little just in case someone is trying to solve it.
This is not a trick question or anything, there is only one pair of numbers that could work. Each line of the...
-
April 30th, 2004, 10:33 PM
lol:D, Good try but not quite. I guess 42's not the answer to life the universe and everything after all.
-
April 30th, 2004, 11:12 AM
Hello everyone, here is a riddle for you all. (If you have already heard it and know the asnwer don't spoil it for others.) I got this from my math teacher who got it when he was in grad school from...
-
March 26th, 2004, 12:55 PM
This is my prof's last semester of teaching as he will be retiring,and I get the feeling he really doesn't care anymore. I just asked him and he said going from 0-59 and seeing if it was from...
-
March 25th, 2004, 08:41 PM
Our teacher gave us this assignment. I didn't think the explanation was very clear but I tried to impliment it as best I could. I was wondering if anyone had any suggestions to improve the code. ...
-
February 18th, 2004, 05:00 PM
Yes it is possible. The drawString() method is part of the Graphics object so your other method should accept a Graphics object for it's parameters.
void myMethod(Graphics g){
...
-
February 18th, 2004, 04:53 PM
On a related note, any idea when they might update the test for the 1.5 Platform?
-
February 18th, 2004, 04:49 PM
It's the Sun Certified Java Programmer Exam. Here's some info...
http://suned.sun.com/US/certification/java/
A really good book is "Java 2 Sun Certified Programmer & Developer" by Kathy Sierra...
-
February 18th, 2004, 04:43 PM
I certainly hope you can't do this. That would be the biggest security hazard I have ever heard of.
-
February 1st, 2004, 01:50 PM
MtX, your while loop will not work corectly. It will stop after only one of the files is used up truncating all the left over cities in the other file. This is why i set up my for loop the way I...
-
January 31st, 2004, 01:21 PM
Good call dlorde, that works much better, I don't know what I was thinking.
MtX, so change this line
else if(f1.firstElement().toString().charAt(0) < f2.firstElement().toString().charAt(0))
...
-
January 31st, 2004, 01:35 AM
One note, the way I compare the Strings is not very good, it only looks at the first letter of every city. But it should at least give you a good starting point.
-
January 31st, 2004, 01:30 AM
Well, as I didn't see a question I took the liberty of making something that does work. It my not be the best solution but from what I tested it seems to do the job.
import java.io.*;
import...
-
January 30th, 2004, 06:39 PM
MtX, ArrayMerger doesn't exist except for the fact that I made it. You are allowed to use for loops and if else statements aren't you?
If you don't want it to be a class just make a method that...
-
January 30th, 2004, 03:01 AM
Well, I played around and came up with this. It should work in most cases. Don't just copy and paste, study it to learn how the logic works.
import java.io.*;
import java.util.Vector;
...
-
January 27th, 2004, 06:37 PM
Hmm, i assumed you had a try catch in the first method but now I 'm not sure try something like this...
try{
CryptoMachine cm = new CryptoMachine();
BufferedReader br = new...
-
January 27th, 2004, 06:15 PM
You're going to have to post your whole program, that part compiles fine for me.
-
January 27th, 2004, 02:48 PM
did you declare input and output as Strings beforehand? If not you should probably add 'String' before each one.
System.out.println("Input File Path: ");
String input = br.readLine();
...
-
January 27th, 2004, 01:57 PM
System.out.println() returns void and you are setting input and output by using that method so I believe they are both still set to null. Then you are calling encrypt(String, String) but both your...
-
January 27th, 2004, 02:49 AM
cjard, that was awsome! Now I have no excuse for not playing around with gbl and making my GUIs do what I want it to. If you keep making tutorials like this you might have to find yourself a...
-
January 22nd, 2004, 10:07 PM
or if you don't like the *= operator it's the same thing as this...
double x = 3;
x = x * x;
x = x * x;
x = x * 3;
x = x * x;
x = x * x;
System.out.println(x);
-
January 22nd, 2004, 09:47 PM
double x = 3;
x *= x;
x *= x;
x *= 3;
x *= x;
x *= x;
System.out.println(x);
-
January 20th, 2004, 01:37 PM
cjard, that would be awsome, I have been wanting to learn GridBagLayout for a little while due to it's many advantages, but I have been put off by it's steep learning curve.
|
Click Here to Expand Forum to Full Width
|