> Well, I am uber new to java,
Don't worry - you are making good progress.
(But please use words like "'very' new", so that even
an e.g. *Aussie* can understand what you mean)
(big snip..)
> And actually, up until a few hours ago, I did not realize that I could
> make an executable .jar file which I think is what I am going to do.
You are heading in just the right direction to make
this much better for your users, and much easier to
deploy and ..update, but..
> And then copy that file onto the desktop of any computer that will use
> the program.
No! This application and deployment is almost *made*
for deployment as an application (like you are making
in the executable .jar file) but *deployed/launched*
by Java Web Start - direct from the network.
Have a look over some of these web start examples
to get a look and feel for how easy it is for the user ..
<http://www.physci.org/jws/>
..most of these are sandboxed, but they can also
prompt for extended permissions, if needed.
Umm.. oh yeah. Note that we have gone somewhat
off on a tangent on this sub-thread, and at this instant,
I have no revelations about your NPE, though I intend
to review the thread and see if I can spot anything..
There *might* be something wrong with the DB
access itself, but I am no DB expert, and those
folks tend to frequent either c.l.j.programmer or
c.l.j.databases.
Would you accept my advice to widen the post
to one or the other of those groups?
If you think that is a good idea, please mention
right here, on this thread, rather than try it yourself.
Widening a post can be taken badly, and
it needs to be handled just the right way.
..If it is going to have a good chance not to
make people irritable!
Andrew T.
Justin - 17 Jan 2007 05:21 GMT
Well, since I've changed it to an application instead of an app, I am
no longer getting the NPE. So problem solved I guess??? I mean, if
turning this into an Application rather than an Applet is the way to
go....
> > Well, I am uber new to java,
>
[quoted text clipped - 46 lines]
>
> Andrew T.
Andrew Thompson - 17 Jan 2007 06:13 GMT
> Well, since I've changed it to an application instead of an app, I am
> no longer getting the NPE. So problem solved I guess???
Great! Glad it's ..sorted. (In a way it is, but it
would be nice to track down exactly why it
failed as an applet..)
Could I ask of you, though, that you put replies
immediately *after* the text you are replying to*,
rather than 'on-top' as you are currently doing?
(* and excellent if you can then trim any text
not relevant to your reply.)
>.. I mean, if
> turning this into an Application rather than an Applet is the way to
> go....
It sure is, but don't forget about web start,
because it will both help deploy the application,
and make any updates very easy.
That URL of web-start examples, again..
> > <http://www.physci.org/jws/>
HTH
Andrew T.
Justin - 17 Jan 2007 07:00 GMT
> Could I ask of you, though, that you put replies
> immediately *after* the text you are replying to*,
> rather than 'on-top' as you are currently doing?
> (* and excellent if you can then trim any text
> not relevant to your reply.)
How's this for practice???
> It sure is, but don't forget about web start,
> because it will both help deploy the application,
> and make any updates very easy.
>
> That URL of web-start examples, again..
> > > <http://www.physci.org/jws/>
Lol, looks like something else I'm going to have to deal with another
day. Thanks for the help
Andrew Thompson - 17 Jan 2007 07:05 GMT
...
> > ..don't forget about web start,
...
> Lol, looks like something else I'm going to have to deal with another
> day.
Cool. It pays not to take on too much
at any one moment.
>...Thanks for the help
You're welcome.
Andrew T.