This class is called from frameMain which extends JFrame:
public class Print extends JPanel implements ActionListener, Printable {
....
if (job.PrintDialog()) {
...
}
....
}
It is a typicall print class which works fine:
Print print = new Print(...)
But if I wrote print = null and create it again:
print = new Print(...)
after I press the print button, I got 2 print dialog (or more if I created
it more times).
Why?
What I must to initialize again?
p.s.
I even started System.gc();
Dado - 09 Feb 2005 20:04 GMT
> This class is called from frameMain which extends JFrame:
>
[quoted text clipped - 20 lines]
> p.s.
> I even started System.gc();
I found a solution of a problem:
ActionListener for a Print button must be added only ones.