For the first step I jumped straight to most obvious task. No matter what will happen and how will I do, I have to have a way to show an SVG file on the screen. As I said before in requirements post, I did some research and I have decided to try out apache batik as SVG library. Batik has a quick start sample on
Batik Swing Components page. As starting point, I took code and added into my fresh NetBeans project. Still have no clue why all these classes are needed, but I need a fast result, so nothing bad to few extra lines in my code. Most important is to have something going.
Nice, just 10 minutes passed on project setup and copy and paste operation and I have an SVG viewer.
Next step would be to be able to print it out. I think this part will take some time. My experience shows that printing from java is not an easy task. Will see how it goes.
No comments:
Post a Comment