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:
parent
1a3a98268d
commit
111393dfd6
6 changed files with 16 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue