Search Results

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: PopeJareth ; Forum: Java and child forums
Forum: Java Aug 20th, 2009
Replies: 5
Solved: If/Array Error
Views: 224
Posted By PopeJareth
A second option would be to just have a item count variable which increments every time an object is added to an array. Then if the count is > 10 give appropriate responce.
Forum: Java Jun 30th, 2009
Replies: 13
Views: 992
Posted By PopeJareth
At this point I am probably as confused as you. =(

Do you think it makes a difference if the applet is run on your pc or on a web server? The getCodeBase() method may give an error from the folder...
Forum: Java Jun 30th, 2009
Replies: 13
Views: 992
Posted By PopeJareth
The error is being thrown at line 26 of readFileApplet.java by the method getCodeBase().
I don't know for sure why. I haven't used URL or getCodeBase() before. Sun's documentation states that it get...
Forum: Java Jun 30th, 2009
Replies: 13
Views: 992
Posted By PopeJareth
You are probably getting this error because you are trying to do an action on an object that is 'null'. I would add an if statement saying

if (myObjects == null){
System.out.println("this was...
Forum: Java Jun 26th, 2009
Replies: 4
Views: 237
Posted By PopeJareth
I would try


import java.lang.Math;

public class CalcDrive {

public static void main(String[] arguments) {

CalcTest one = new CalcTest();
Showing results 1 to 5 of 5

 


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

©2003 - 2009 DaniWeb® LLC