Why does the compiler complain that the javax.swing.ProgressMonitor method “isCancelled()” isn found?
Ans : In American English there are two acceptable spellings: “canceled” and “cancelled”. Note that the first one has one “el” and the second two “el’s”. Sun spells this “canceled” for ProgressMonitors but many of the secondary sources of documentation spell it “cancelled”. To make matters worse, Sun spells it “cancelled” at other times, such as the method “isCancelled()” for PrinterJob.