[jira] [Commented] (NETBEANS-6497) class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D

2022-05-27 Thread Austin Stephens (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17543145#comment-17543145
 ] 

Austin Stephens commented on NETBEANS-6497:
---

I don't have the time to double check that right now... Maybe later...

> class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D 
> 
>
> Key: NETBEANS-6497
> URL: https://issues.apache.org/jira/browse/NETBEANS-6497
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 12.4, 12.5, 12.6
>Reporter: Austin Stephens
>Priority: Major
>
> A various number of Windowing components (such as ColorUtil) expect the input 
> graphics to be a `Graphics2D`, which is not the case when 
> `JComponent.setDebugGraphicsOptions​` was set with a non-zero value. This 
> makes it difficult to debug graphical issues.
> This, of course, wouldn't be an issue if 
> [https://bugs.openjdk.java.net/browse/JDK-4262543] was resolved instead of 
> left hanging, but we are not expecting them to fix that any time soon. The 
> code location given is not the only place where it is assumed.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-6497) class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D

2022-05-27 Thread Austin Stephens (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17543109#comment-17543109
 ] 

Austin Stephens commented on NETBEANS-6497:
---

Ah. Thanks. I will move it there then

> class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D 
> 
>
> Key: NETBEANS-6497
> URL: https://issues.apache.org/jira/browse/NETBEANS-6497
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 12.4, 12.5, 12.6
>Reporter: Austin Stephens
>Priority: Major
>
> A various number of Windowing components (such as ColorUtil) expect the input 
> graphics to be a `Graphics2D`, which is not the case when 
> `JComponent.setDebugGraphicsOptions​` was set with a non-zero value. This 
> makes it difficult to debug graphical issues.
> This, of course, wouldn't be an issue if 
> [https://bugs.openjdk.java.net/browse/JDK-4262543] was resolved instead of 
> left hanging, but we are not expecting them to fix that any time soon. The 
> code location given is not the only place where it is assumed.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-6497) class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D

2022-04-28 Thread Austin Stephens (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17529662#comment-17529662
 ] 

Austin Stephens commented on NETBEANS-6497:
---

Of note, NETBEANS-4549 is technically related, but that user reported that is 
was fixed when it wasn't.

> class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D 
> 
>
> Key: NETBEANS-6497
> URL: https://issues.apache.org/jira/browse/NETBEANS-6497
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 12.4, 12.5, 12.6
>Reporter: Austin Stephens
>Priority: Major
>
> A various number of Windowing components (such as ColorUtil) expect the input 
> graphics to be a `Graphics2D`, which is not the case when 
> `JComponent.setDebugGraphicsOptions​` was set with a non-zero value. This 
> makes it difficult to debug graphical issues.
> This, of course, wouldn't be an issue if 
> [https://bugs.openjdk.java.net/browse/JDK-4262543] was resolved instead of 
> left hanging, but we are not expecting them to fix that any time soon. The 
> code location given is not the only place where it is assumed.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists