Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other JSE/JEE APIs
Java 2D IllegalPathStateException problem
posted 7 years ago
i am having problem with this exception:
: missing initial moveto in path definition
It is odd becoase my code looks like this:
this.position = new GeneralPath(GeneralPath.WIND_EVEN_ODD); this.position.moveTo(srcPosition.x, srcPosition.y); this.position.lineTo(destPosition.x, destPosition.y); // This lineTo throws the exception, also in some other classes in the code.
I was looking on the net, but i cant find answer, or some more information about this issue.
Thanks in advance!
Sorry for my bad english
Don't get me started about those stupid
Boost this thread!
How to invoke 'exe' in JSP
how to remember all checked and unchecked exception
Trouble with "@" and spaces in mySQL
A little Exception trouble...
JSP & EJB Problem