Originally posted by Paul Bailey:
edu/yak/Main.java:548: cannot resolve symbol
symbol : method setPrintable (edu.yak.Main.ScheduleJPanel)
location: class java.awt.print.PrinterJob
printJob.setPrintable(this);
I just compiled the example ok. May be if you are in an inner class perhaps it has problems accessing the printJob variable. From an inner class you can only access final variables from the enclosing class. I noticed that the example implemented ActionListener so does not need to use inner classes.