Click to See Complete Forum and Search --> : java Appl in browser


August 24th, 1999, 01:06 AM
hi friends
i have to call an application from an applet which contains buttons and a panel.
In panel i have to trap the Mouse Right click and popup menu. as an individual application it works fine. when I try to call the application from the browser it not intiating the application.(IE4.0).
I wanted to know which version of IE and netscape supports JDK1.1 event delagation model.
is it possible to trap right mouse click using jdk1.0.2
Thanks in advance
banu

unicman
August 24th, 1999, 08:26 AM
I don't think if u can instantiate a appln from an applet. I'm not sure.

But if u want to trap Mouse Right click, u can do it in applet also. Just in case u don't know... u can add mouse listener and in that check if its a right click.

IE4.0 supports JDK1.1.5, Netscape 4.04 supports 1.1.2

U may be able to trap it by extending the component for which u want to trap the right mouse click and in 'handleEvents' or similar method u can put ur code for mouse events.

I hope this answers ur query.

- UnicMan