Font.java (isBold): Fix syntax error.

* java/awt/Font.java(isBold): Fix syntax error.
	(isItalic): ditto.
	* java/awt/Frame.java(postEvent): ditto.
	* java/awt/Menu.java(postEvent): ditto.
	* java/awt/MenuBar.java(postEvent): ditto.
	* java/awt/Toolkit.java(init): Included a stub.

From-SVN: r32723
This commit is contained in:
Warren Levy 2000-03-24 09:09:56 +00:00 committed by Warren Levy
parent 1a3a98268d
commit 111393dfd6
6 changed files with 16 additions and 6 deletions

View file

@ -52,7 +52,7 @@ public class Font
public boolean isBold()
{
if (style & BOLD == BOLD)
if ((style & BOLD) == BOLD)
return true;
return false;
@ -60,7 +60,7 @@ public class Font
public boolean isItalic()
{
if (style & ITALIC == ITALIC)
if ((style & ITALIC) == ITALIC)
return true;
return false;