main form preview button added
work with jfreechart