Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a function that will select, using pickAFile(), a picture file to be opened. If cancel is pressed in the pickAFile() dialogue box, then you

write a function that will select, using pickAFile(), a picture file to be opened. If cancel is pressed in the pickAFile() dialogue box, then you must ask the user if it was a mistake. If it was a mistake, open thepickAFile() dialogue again, and repeat until it is not a mistake. Return the 'made' picture, otherwise (i.e. cancel was pushed and the user indicated that it was NOT a mistake) return an error message.

NOTE: the JES function requestString (see JES Functions-->Input/Output) should be used when asking the user if the pressing of 'cancel' was a mistake.

This programming is in JES, thanks

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How does the EEOC interpret the national origin guidelines?

Answered: 1 week ago

Question

7. It is advisable to do favors for people whenever possible.

Answered: 1 week ago

Question

9. Power and politics can be destructive forces in organizations.

Answered: 1 week ago