Jonathan Gutow wrote: >I think it would be possible to put the "menu bar" at the bottom of >the applet. I also think it could be made to only extend over the >region we currently use for the Jmol frank. Then the frank would >become a normal menu and right-click could activate that. I did a >quick investigation of the Java API and it looks like we can place >the menu by changing the layoutManager used for the menus. > > > When you add the menubar, I don't think bottom is an option. It isn't added like other components -- it's just added as "the" frame menubar. I could be wrong about that. Mostly I think we don't want it always present, because it will wreck the sleek simple black-box appearance of the applet. In fact, now that I think of it, I doubt the menubar can be hidden. Thus the idea of the console -- it could be another window entirely, and I suspect it could be a tiny frame just big enough to fit it -- thus mimicing a pop-up menu exactly.
>My investigation also turned up another issue. It appears that >menubar menus use the popUp menu package to generate their menus. Is >it definite that that won't be blocked in applets by the new JavaVM? >Another thought is are they allowing "lightweight" popUps (those >without graphics)? > > > Not a problem -- I've been testing it on Java 1.6.0_10, and it solves the problem. >Jonathan > > Dr. Jonathan H. Gutow >Chemistry Department [EMAIL PROTECTED] >UW-Oshkosh Office:920-424-1326 >800 Algoma Boulevard FAX:920-424-2042 >Oshkosh, WI 54901 > http://www.uwosh.edu/faculty_staff/gutow/ > > > > > >------------------------------------------------------------------------- >This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >Build the coolest Linux based applications with Moblin SDK & win great prizes >Grand prize is a trip for two to an Open Source event anywhere in the world >http://moblin-contest.org/redirect.php?banner_id=100&url=/ >_______________________________________________ >Jmol-developers mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-developers > > -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
