Menu

#409 webswing: java.lang.ClassCastException: class org.webswing.common.GraphicsWrapper cannot be cast to class sun.java2d.SunGraphics2D

Candidates
tested
PAscal
None
None
2020-07-05
2020-07-01
PAscal
No

This error appears when moving a table inside the graph.
It is already described in webswing project:
https://bitbucket.org/meszarv/webswing/issues/320/jdesktop-dragmode-outline-problem

to fix this,
desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
has been commented in
ViewDragram.java and MDIwindow.java

Discussion

  • PAscal

    PAscal - 2020-07-01
    • summary: websing: java.lang.ClassCastException: class org.webswing.common.GraphicsWrapper cannot be cast to class sun.java2d.SunGraphics2D --> webswing: java.lang.ClassCastException: class org.webswing.common.GraphicsWrapper cannot be cast to class sun.java2d.SunGraphics2D
     
  • PAscal

    PAscal - 2020-07-05
    • status: open --> tested
     

Log in to post a comment.