When you say it "always" returns false, does this include our printingr example programs ?
We modified our Lineplotsalesvolume example to save the dialog result and it returned true if OK button was pressed, and false if the Cancel button was pressed (we looked at the return value in the debugger).
public void actionPerformed(ActionEvent event)
{ Object object = event.getSource();
boolean dlgresult = false;
if (object == printMenuItem)
{
lineplotsalesvolume.Print(printgraph);
} else
if (object == printerSetupMenuItem)
{
dlgresult = printgraph.printDialog();
} else
if (object == imageSetupMenuItem)
{
lineplotsalesvolume.SaveJPEG();
} else
if (object == exitMenuItem)
{
System.exit(0);;
}
}
}