Index:
[thread]
[date]
[subject]
[author]
From: Nisha Kapur <nishak@kinglet.cs.duke.edu>
To : Huned M. Botee <huned.botee@duke.edu>
Date: Wed, 14 Apr 1999 12:42:02 -0400
Re: quiz clients
On Wed, 14 Apr 1999, Huned M. Botee wrote:
> Just a small, possibly irrelevant, note.
>
> It is possible to convert an applet into an application just by giving
> it someplace to live within a GUI (ie, a Frame). So, theoretically,
> (although I don't recommend it necessarily and without reservations) you
> can write everything you do as an applet. Then give it a place to live
> (a frame or something) and it magically becomes an applciation.
>
> I think that's right. Anyone see anything wrong w/ the above? I've only
> done it a couple times, but it is possible.
I have done this and it works except for the fact that I have to specify
the complete path for the images that I am loading - is there a way of
specifying relative paths. We use a getDocumentBase() function to get the
path and add it to the image name in applets - is there soemthing like
this if you wanted to do it with a Frame?
> >
> > when we turn the quiz in, does we need to have written both main and applet
> > type clients, or just one?
Oh well, I have done both.
Nisha
Index:
[thread]
[date]
[subject]
[author]