1.getActions() method returns an aray of Action object. do the number of objects differ for different components?.
2. what does the returned array hold? if they are the actions that a component on which the getAction() method was called can perform, why do some components like menu don't have the getAction() method. doesn't that mean we can't perform any action on menus.
that is when we right click on the menubar of any window, it's espective options will appear and when we click the option that particular option or all of it's associated options will appear on tha menu. for example when we right click on the meu of an IE window, options like 'standard buttons', 'address bar' etc., will appear, and when you choose any of them a set of items appear on th menu bar. How come we achieve this kind of operation in java swing when thre is no action assocated with JMenubar.
I don't know the answer to your question, but I know that on the Mac, you right-click -- not on the menu bar -- but you right-click in the Tool area.
I want to develop Swing apps that work for both Mac and Windows and work in a manner that when run on a Mac would work the way that a Mac user would expect and when run on Windows would work in the way that a Windows user would expect.