Search Results

Showing results 1 to 11 of 11
Search took 0.03 seconds.
Search: Posts Made By: AstroNox ; Forum: Java and child forums
Forum: Java Mar 27th, 2006
Replies: 9
Views: 1,450
Posted By AstroNox
Well, I guess it's because we can't just give you a full solution without you even trying to work something out. Otherwise you wouldn't learn anything would you? However, out of good will I've...
Forum: Java Mar 26th, 2006
Replies: 11
Views: 2,589
Posted By AstroNox
Dear Richard,

I have done some testing and I did not encounter the problem you did. I tested several DOS programs like ping and java and of course javac, using java and even javaw to test out my...
Forum: Java Mar 26th, 2006
Replies: 11
Views: 2,589
Posted By AstroNox
Dear Richard,

I actually wanted to see the command string you passed into Runtime.getRuntime().exec(), not the code in the sense of just Runtime.getRuntime().exec(). We all know that this Java...
Forum: Java Mar 26th, 2006
Replies: 3
Views: 2,851
Posted By AstroNox
Dear Tigerdude, glad that you've worked it out. Well, you shouldn't hold it on your lecturer 'cause people do make mistakes. Logic error anyone? :)

Anyway, what I meant in the first point is that...
Forum: Java Mar 26th, 2006
Replies: 11
Views: 2,589
Posted By AstroNox
Dear Richard, that's an interesting problem I've never encountered. Please give me some time to check it out. In the meantime, could you please state your system specs (Windows or Linux), your PATH...
Forum: Java Mar 26th, 2006
Replies: 3
Views: 2,851
Posted By AstroNox
Hey Tigerdude, I had read through your Floyd-Warshall implementation and I've noticed several things:

Did you make sure that your constant INFINITY did not coincide with any of your edge values...
Forum: Java Mar 26th, 2006
Replies: 3
Views: 1,385
Posted By AstroNox
This is the site:
http://java.sun.com/j2se/1.5.0/download.jsp

If you intend to develop applications in Java, download the JDK or the Java Development Kit. Otherwise, download the JRE (not J2EE),...
Forum: Java Mar 25th, 2006
Replies: 4
Views: 1,591
Posted By AstroNox
You could use reflection (i.e. get the classes at run-time rather than at compile-time). This is safer because com.sun packages may exist on one OS distribution of Java and not another.

Anywho,...
Forum: Java Mar 25th, 2006
Replies: 1
Views: 1,624
Posted By AstroNox
Hi cazaletm, I know that starting out with Java I/O can be a little challenging and I see that you've tried all you can. I will not write the whole program out that satisfies all the requirements,...
Forum: Java Mar 19th, 2006
Replies: 2
Views: 1,196
Posted By AstroNox
import java.util.*;
import java.io.*;

class Gifts {
double dollars;
double euros;
double yen;
double dollarsRate;
double eurosRate;
double yenRate;
Forum: Java Mar 19th, 2006
Replies: 4
Views: 1,655
Posted By AstroNox
Writing to a file is pretty simple with Java. Here's some sample code:

import java.io.*;

public class DoSomeFileOutput {public static void main (String[] args) {try {FileWriter fw = new...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC