Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does the compiler complain that the javax.swing.ProgressMonitor method “isCancelled()” isn found?

compiler complain method
0
Posted

Why does the compiler complain that the javax.swing.ProgressMonitor method “isCancelled()” isn found?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.