Forum: Java Apr 14th, 2008 |
| Replies: 3 Views: 482 Did you first compile the first file then put it into your classpath ?
or
javac classfile.java testfiile.java
? |
Forum: Java Jan 23rd, 2008 |
| Replies: 3 Views: 624 But i must continue on to state that while java does have bindings for the DOM, AJAX refers to the usage with JavaScript (refereed to on the w3c site as ECMAScript) to create dynamic webpages.
But... |
Forum: Java Jan 23rd, 2008 |
| Replies: 3 Views: 624 ajax stands for Asynchronous Javascript and XML.
Now technically this is not a java technology, While javascript and java have similar syntax, they are both quite different, Javascript is an... |
Forum: Java Sep 10th, 2007 |
| Replies: 11 Views: 2,102 You where using the findInLine(String patten) method. This takes a patten and returns the matching string ( Using regular expressions )
so if i Used for instance findInLine("[YN]") it would... |
Forum: Java Sep 10th, 2007 |
| Replies: 11 Views: 2,102 Yes, if you look at the API documentation for the Scanner class it says the following about the find InLine method
Attempts to find the next occurrence of the specified pattern ignoring... |
Forum: Java Sep 10th, 2007 |
| Replies: 11 Views: 2,102 try replacing boysScanner.findInLine(".").charAt(0) with boysScanner.nextLine().charAt(0); |
Forum: Java Sep 10th, 2007 |
| Replies: 11 Views: 2,102 I does not work when I compile it either.
You will find that the method boysScanner.findInLine(".") is returning NULL when you call it the second time. I don't know if this is because of how our... |