• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Underlining access key in AWT

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Dear Friend
I cannot help myself getting an underline in the access
key like letter f in file menupad
please help
thanx
bapi
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When creating your menu, use the setMnemonic('f') to get the letter underlined.
Hope this helps.
David
 
bapi dhar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dear friend
This relates to AWT.
This is not working ... HELP..... YELP.....

mb=new MenuBar();
fmnu=new Menu("File");
fmnu.setMnemonic('F'); // not working
MenuItem n=new MenuItem("New");
n.setMnemonic('N'); //not working
MenuItem s=new MenuItem("Save");
fmnu.add(s);
mb.add(fmnu);
f1.setMenuBar(mb);
bapi


[This message has been edited by bapi dhar (edited March 10, 2001).]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic