Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
Other JSE/JEE APIs
Java 2D IllegalPathStateException problem
posted 6 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
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