-
Calling an applet from an applet??
I'm new to java so please excuse the ignorance. I have an applet with tabbed
pages. On one tab
I need an image map with zoom-in capabilities. I have an applet that will
do this but how can I call
an applet from within an apple? Any help appreciated.
-
Re: Calling an applet from an applet??
You need a class that can do what you want. Then you can access that class
from as many applets as you like.
To do this, just extract the relevant code from the applet that contains it
now and design a class that you can call. Change the old applet to call it,
and make your new applet call it too. This will complicate your life
somewhat, because you'll have to create jar files containing your applets
plus the new imagemap class and change your html to use the jar files.
the java fool <chris.h.etgen@lmco.com> wrote in message
news:39529027$1@news.devx.com...
>
> I'm new to java so please excuse the ignorance. I have an applet with
tabbed
> pages. On one tab
> I need an image map with zoom-in capabilities. I have an applet that will
> do this but how can I call
> an applet from within an apple? Any help appreciated.
-
Re: Calling an applet from an applet??
"the java fool" <chris.h.etgen@lmco.com> wrote:
>
>I'm new to java so please excuse the ignorance. I have an applet with tabbed
>pages. On one tab
>I need an image map with zoom-in capabilities. I have an applet that will
>do this but how can I call
>an applet from within an apple? Any help appreciated.
Another way to do this is to create a JavaBean out of the internal applet,
then you can use it sort of like an ActiveX control. I don't know too much
about the structure of JavaBeans, just the theory. If you do some researdh
on the Web i'm sure you'll find something
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks