Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def load[ChartType : Manifest](opts : ForexChartOptions) {
- val ctClass = implicitly[Manifest[ChartType]].erasure
- val mainchart = ctClass.newInstance.asInstanceOf[ChartType]
- mainchart.pack()
- RefineryUtilities.centerFrameOnScreen(mainchart)
- mainchart.setVisible(true)
- }
Add Comment
Please, Sign In to add comment