Jump to content
JasperReports Library 7.0 is now available ×

JasperViewer throwing java.awt.HeadlessException


14ishamalik

Recommended Posts

 

java.awt.HeadlessException java.awt.GraphicsEnvironment.checkHeadless(Unknown Source) java.awt.Window.<init>(Unknown Source) java.awt.Frame.<init>(Unknown Source) java.awt.Frame.<init>(Unknown Source) javax.swing.JFrame.<init>(Unknown Source) net.sf.jasperreports.view.JasperViewer.<init>(JasperViewer.java:264) net.sf.jasperreports.view.JasperViewer.<init>(JasperViewer.java:194) net.sf.jasperreports.view.JasperViewer.<init>(JasperViewer.java:139) net.sf.jasperreports.view.JasperViewer.<init>(JasperViewer.java:101) [/code]
 
JasperReport jasperReport = JasperCompileManager.compileReport("/resources/etiquetas/etiquetaEndereco.jrxml");JasperPrint print = JasperFillManager.fillReport(jasperReport, parametros);JasperViewer.viewReport(print);

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...