Hi
I like to change my Menu fonts to BOLD. The compiler doesn't give any error when I use setFont() but on the form the fonts are plain.
Is there a way around it.?
Raja Laks
jagapath@hotmail.com
Font newFont = new Font("TimesRoman", Font.BOLD, 12);
MenuBar myBar = new MenuBar();
setMenuBar(myBar);
//Create the file menu and add it to the menubar...
Menu fileMenu = new Menu("File"); fileMenu.setFont(newFont);
myBar.add(fileMenu);
This is probably the same as you tried, but I thought I'd clarify it just in case. You can also use the method isBold( ) to find out if the text is really bold but is just now showing up that way for some reason. It will return true is it is and false if it is not. Hope this helps.
Shari