Chat with us, powered by LiveChat SlideShow.zip - STUDENT SOLUTION USA

Slide Show/.classpath

Slide Show/.project

Slide Show org.eclipse.jdt.core.javabuilder org.eclipse.jdt.core.javanature

Slide Show/.settings/org.eclipse.jdt.core.prefs

eclipse.preferences.version=1org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabledorg.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserveorg.eclipse.jdt.core.compiler.compliance=1.8org.eclipse.jdt.core.compiler.debug.lineNumber=generateorg.eclipse.jdt.core.compiler.debug.localVariable=generateorg.eclipse.jdt.core.compiler.debug.sourceFile=generateorg.eclipse.jdt.core.compiler.problem.assertIdentifier=errororg.eclipse.jdt.core.compiler.problem.enumIdentifier=errororg.eclipse.jdt.core.compiler.source=1.8

Slide Show/bin/resources/TestImage1.jpg

Slide Show/bin/resources/TestImage2.jpg

Slide Show/bin/resources/Testimage3.jpg

Slide Show/bin/resources/TestImage4.jpg

Slide Show/bin/resources/TestImage5.jpg

Slide Show/bin/SlideShow$1.class

                synchronized                 class SlideShow$1                 implements java.awt.event.ActionListener {    void SlideShow$1(SlideShow);                    public void                 actionPerformed(java.awt.event.ActionEvent);}            

Slide Show/bin/SlideShow$2.class

                synchronized                 class SlideShow$2                 implements java.awt.event.ActionListener {    void SlideShow$2(SlideShow);                    public void                 actionPerformed(java.awt.event.ActionEvent);}            

Slide Show/bin/SlideShow$3.class

                synchronized                 class SlideShow$3                 implements Runnable {    void SlideShow$3();                    public void                 run();}            

Slide Show/bin/SlideShow.class

                public                 synchronized                 class SlideShow                 extends javax.swing.JFrame {                    private javax.swing.JPanel                 slidePane;                    private javax.swing.JPanel                 textPane;                    private javax.swing.JPanel                 buttonPane;                    private java.awt.CardLayout                 card;                    private java.awt.CardLayout                 cardText;                    private javax.swing.JButton                 btnPrev;                    private javax.swing.JButton                 btnNext;                    private javax.swing.JLabel                 lblSlide;                    private javax.swing.JLabel                 lblTextArea;                    public void SlideShow()                 throws java.awt.HeadlessException;                    private void                 initComponent();                    private void                 goPrevious();                    private void                 goNext();                    private String                 getResizeIcon(int);                    private String                 getTextDescription(int);                    public                 static void                 main(String[]);}            

Slide Show/src/resources/TestImage1.jpg

Slide Show/src/resources/TestImage2.jpg

Slide Show/src/resources/Testimage3.jpg

Slide Show/src/resources/TestImage4.jpg

Slide Show/src/resources/TestImage5.jpg

Slide Show/src/SlideShow.java

import java.awt.BorderLayout;import java.awt.CardLayout;import java.awt.EventQueue;import java.awt.FlowLayout;import java.awt.HeadlessException;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JPanel;import java.awt.Color;public class SlideShow extends JFrame {//Declare Variablesprivate JPanel slidePane;private JPanel textPane;private JPanel buttonPane;private CardLayout card;private CardLayout cardText;private JButton btnPrev;private JButton btnNext;private JLabel lblSlide;private JLabel lblTextArea;/** * Create the application. */public SlideShow() throws HeadlessException {initComponent();}/** * Initialize the contents of the frame. */private void initComponent() {//Initialize variables to empty objectscard = new CardLayout();cardText = new CardLayout();slidePane = new JPanel();textPane = new JPanel();textPane.setBackground(Color.BLUE);textPane.setBounds(5, 470, 790, 50);textPane.setVisible(true);buttonPane = new JPanel();btnPrev = new JButton();btnNext = new JButton();lblSlide = new JLabel();lblTextArea = new JLabel();//Setup frame attributessetSize(800, 600);setLocationRelativeTo(null);setTitle("Top 5 Destinations SlideShow");getContentPane().setLayout(new BorderLayout(10, 50));setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//Setting the layouts for the panelsslidePane.setLayout(card);textPane.setLayout(cardText);//logic to add each of the slides and textfor (int i = 1; i ";} else if (i==2){image = " ";} else if (i==3){image = " ";} else if (i==4){image = " ";} else if (i==5){image = " ";}return image;}/** * Method to get the text values */private String getTextDescription(int i) {String text = ""; if (i==1){text = "#1 The Grand Canyon. Spectacular canyon views and hiking.";} else if (i==2){text = "#2 Top Destination";} else if (i==3){text = "#3 Top Destination";} else if (i==4){text = "#4 Top Destination";} else if (i==5){text = "#5 Top Destination";}return text;}/** * Launch the application. */public static void main(String[] args) {EventQueue.invokeLater(new Runnable() {@Overridepublic void run() {SlideShow ss = new SlideShow();ss.setVisible(true);}});}}

error: Content is protected !!