CreateSlideShow - slideshow images from"); //...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
/* * * * Allows the user to intitiate a slideshow using some initial information. */ import*; i public class CreateSlideShow { public static void main(String[] args) { // Obtain width/height from user int width = SimpleInput.getIntNumber("Enter the desired canvas width"); int height = SimpleInput.getIntNumber("Enter the desired canvas height"); // Obtain the directory location to load images from String directoryName = SimpleInput.getString("Enter the directory to obtain
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: slideshow images from"); // Create the slideshow SlideShow slides = new SlideShow(directoryName); // Obtain the time inteval int timeInterval = SimpleInput.getIntNumber("Enter the time interval for switching pictures in the slideshow, in seconds"); // Show the slides slides.showSlides(width, height, timeInterval); // done System.exit(0); } }...
View Full Document

Ask a homework question - tutors are online