[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2471) Pages.xml editor: SWT Exception
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Tue Jul 1 10:12:31 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-2471?page=comments#action_12419492 ]
Daniel Azarov commented on JBIDE-2471:
--------------------------------------
On Windows XP all work fine
Problem in graphics gradient
next code line works ok:
g.fillRectangle(boundingRect);
instead next lines:
if(g instanceof ScaledGraphics) {
// scaled graphcis does not support gradients ;(
g.fillRectangle(boundingRect);
} else {
Display display = Display.getCurrent();
Point topLeft = boundingRect.getTopLeft();
Point bottomRight = boundingRect.getBottomRight();
Pattern pattern = new Pattern(display, topLeft.x, topLeft.y,
bottomRight.x, bottomRight.y,
ColorConstants.white, g.getBackgroundColor());
g.setBackgroundPattern(pattern);
g.fillRectangle(boundingRect);
g.setBackgroundPattern(null);
pattern.dispose();
}
> Pages.xml editor: SWT Exception
> -------------------------------
>
> Key: JBIDE-2471
> URL: http://jira.jboss.com/jira/browse/JBIDE-2471
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Seam
> Affects Versions: 3.0.0.alpha
> Environment: Windows 2000
> Reporter: Daniel Azarov
> Assigned To: Daniel Azarov
> Fix For: 3.0.0.alpha
>
> Attachments: .log
>
>
> Testcase:
> EXECUTE: Start studio
> EXECUTE: Open Pages.xml editor
> FAIL: SWT Exeption (see log)
> It reproduces on Windows 2000
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list