> > > > java -jar javaapplication7.jar
> > >
[quoted text clipped - 10 lines]
> enough to actually download and try the application
> (of which, I wasn't), I will suggest..
you didn't try the app...
why are you kind enough to waste your replying to this thread...
> 'web-start'
> - could forewarn the end user the minimum Java version
[quoted text clipped - 6 lines]
> a high level of Java (I would guess Java 1.2) - what is in
> your code that sets the minimum Java version? Generics?
As from the exceptions raised... it seems that there was a exception in
Vector class.
java.util.NoSuchElementFound exception...
> * http://myjavaserver.com/~pradyut/files/java_calc/java_calc.JPG
> BTW - the screenshot was a nice touch - good work.
Thanks...
> Andrew T.
Lew - 13 Nov 2006 23:58 GMT
>> But while we are on the subject of minimum Java version,
>> a quick perusal of your GUI* did not suggest it requires
>> a high level of Java (I would guess Java 1.2) - what is in
>> your code that sets the minimum Java version? Generics?
This is a good question. What is the answer?
> As from the exceptions raised... it seems that there was a exception in
> Vector class.
> java.util.NoSuchElementFound exception...
NoSuchExceptionFound.
Do you mean java.util.NoSuchElementException?
Have you read
http://java.sun.com/j2se/1.4.2/docs/api/java/util/NoSuchElementException.html?
Under what circumstances does your code attempt to call
Enumeration.nextElement() after there are no more elements in the enumeration?
Would ArrayList and Iterator perhaps suit your algorithm better than Vector
and Enumeration?
- Lew
Andrew Thompson - 14 Nov 2006 01:22 GMT
...
> you didn't try the app...
> why are you kind enough to waste your replying to this thread...
>
> > 'web-start'
Perhaps because more people (such as myself) might click
a link pointing to a sand-boxed web start application, which
is less effort than downloading, compiling and running code,
and a lot safer than running a jar from 'some guy on usenet'.
But then ..I do wonder why I am bothering to justify my
interest to you, since it (my interest) is fading quickly..
Andrew T.