Component.java: Indentation cleanup from Classpath.
* java/awt/Component.java: Indentation cleanup from Classpath. 2003-09-20 Dalibor Topic <robilad@kaffe.org> * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument checking to follow 1.4.2 spec. From-SVN: r71612
This commit is contained in:
parent
21cf98f6e0
commit
a8cc9af35f
3 changed files with 51 additions and 14 deletions
|
@ -1870,12 +1870,12 @@ public abstract class Component
|
|||
{
|
||||
Image returnValue = null;
|
||||
if (!GraphicsEnvironment.isHeadless ())
|
||||
{
|
||||
if (isLightweight () && parent != null)
|
||||
returnValue = parent.createImage (width, height);
|
||||
else if (peer != null)
|
||||
returnValue = peer.createImage (width, height);
|
||||
}
|
||||
{
|
||||
if (isLightweight () && parent != null)
|
||||
returnValue = parent.createImage (width, height);
|
||||
else if (peer != null)
|
||||
returnValue = peer.createImage (width, height);
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue