Here is Michal's response.  I'm going to reply only on the mozswing 
list, so I don't clutter these lists.  The traffic on the mozswing list 
is pretty light if you want to watch it to keep tabs on the project.

Scott

Michal Ceresna wrote:
> On Monday 14 January 2008, Scott Cytacki wrote:
>
> Hello,
>
>   
>>> btw, the second mouse button doesn't work in either.  is it disabled
>>> or would new code have to be written to connect it to XUL?
>>>  
>>>       
>> By second mouse button do you mean the right mouse button or the middle
>> mouse button?  I think the right click context menu comes from firefox,
>> not from the embedded browser component.   When I look at a page with
>> flash in it, the right click (ctrl click on osx) does work.
>>
>> So to support a context menu would at least require adding more code in
>> the awt wrapper around.   And then the next trick is figuring out if the
>> awt component can capture the right click and correctly show a menu on
>> top of the browser component.   Perhaps a better approach is to use xul
>> to add a context menu.
>>
>>     
> there is listener we can register in gecko to get notified
> about requests to open context menu.
>
> The question is what to use for implementing the context menu:
>
> *) swing menu (JMenu) will have problems with the light/heavy 
>    components, it will not render on top of the mozilla area
>
> *) awt menu will work, but looks awful
>
> *) XUL menu will look good and work, but brings complexity
>    to the java code. Most java programmers do not use
>    XUL, so creating some XPCOM component with context menu
>    might be too complex.
>    Maybe creating some utility classes like JXULMenu, JXULMenuItem
>    that resemble the api of JMenu, JMenuItem would make
>    it easier to use?
>    
> What do you think?
>
> best regards,
> Michal
> _______________________________________________
> Mozswing mailing list
> [EMAIL PROTECTED]
> https://www.mozdev.org/mailman/listinfo/mozswing
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to