java project 3

skulcandy1190
Project3_Skeleton.zip

Project3/build.xml

Builds, tests, and runs the project Project3.

Project3/manifest.mf

Manifest-Version: 1.0 X-COMMENT: Main-Class will be added automatically by build

Project3/nbproject/build-impl.xml

Must set src.dir Must set test.src.dir Must set build.dir Must set dist.dir Must set build.classes.dir Must set dist.javadoc.dir Must set build.test.classes.dir Must set build.test.results.dir Must set build.classes.excludes Must set dist.jar Must set javac.includes No tests executed. Must set JVM to use for profiling in profiler.info.jvm Must set profiler agent JVM arguments in profiler.info.jvmargs.agent Must select some files in the IDE or set javac.includes To run this application from the command line without Ant, try: java -jar "${dist.jar.resolved}" Must select one file in the IDE or set run.class Must select one file in the IDE or set run.class Must select one file in the IDE or set debug.class Must select one file in the IDE or set debug.class Must set fix.includes This target only works when run from inside the NetBeans IDE. Must select one file in the IDE or set profile.class This target only works when run from inside the NetBeans IDE. This target only works when run from inside the NetBeans IDE. This target only works when run from inside the NetBeans IDE. Must select one file in the IDE or set run.class Must select some files in the IDE or set test.includes Must select one file in the IDE or set run.class Must select one file in the IDE or set applet.url Must select some files in the IDE or set javac.includes Some tests failed; see details above. Must select some files in the IDE or set test.includes Some tests failed; see details above. Must select some files in the IDE or set test.class Must select some method in the IDE or set test.method Some tests failed; see details above. Must select one file in the IDE or set test.class Must select one file in the IDE or set test.class Must select some method in the IDE or set test.method Must select one file in the IDE or set applet.url Must select one file in the IDE or set applet.url

Project3/nbproject/genfiles.properties

build.xml.data.CRC32=38b645d4 build.xml.script.CRC32=9ab774ec build.xml.stylesheet.CRC32=8064a381@1.79.1.48 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=38b645d4 nbproject/build-impl.xml.script.CRC32=8fab32d2 nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.1.48

Project3/nbproject/project.properties

annotation.processing.enabled=true annotation.processing.enabled.in.editor=false annotation.processing.processor.options= annotation.processing.processors.list= annotation.processing.run.all.processors=true annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output build.classes.dir=${build.dir}/classes build.classes.excludes=**/*.java,**/*.form # This directory is removed when the project is cleaned: build.dir=build build.generated.dir=${build.dir}/generated build.generated.sources.dir=${build.dir}/generated-sources # Only compile against the classpath explicitly listed here: build.sysclasspath=ignore build.test.classes.dir=${build.dir}/test/classes build.test.results.dir=${build.dir}/test/results # Uncomment to specify the preferred debugger connection transport: #debug.transport=dt_socket debug.classpath=\ ${run.classpath} debug.test.classpath=\ ${run.test.classpath} # Files in build.classes.dir which should be excluded from distribution jar dist.archive.excludes= # This directory is removed when the project is cleaned: dist.dir=dist dist.jar=${dist.dir}/Project3.jar dist.javadoc.dir=${dist.dir}/javadoc excludes= includes=** jar.compress=false javac.classpath= # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false javac.external.vm=true javac.processorpath=\ ${javac.classpath} javac.source=1.8 javac.target=1.8 javac.test.classpath=\ ${javac.classpath}:\ ${build.classes.dir} javac.test.processorpath=\ ${javac.test.classpath} javadoc.additionalparam= javadoc.author=false javadoc.encoding=${source.encoding} javadoc.noindex=false javadoc.nonavbar=false javadoc.notree=false javadoc.private=false javadoc.splitindex=true javadoc.use=true javadoc.version=false javadoc.windowtitle= main.class=project3.Project3 manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF mkdist.disabled=false platform.active=default_platform run.classpath=\ ${javac.classpath}:\ ${build.classes.dir} # Space-separated list of JVM arguments used when running the project. # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. # To set system properties for unit tests define test-sys-prop.name=value: run.jvmargs= run.test.classpath=\ ${javac.test.classpath}:\ ${build.test.classes.dir} source.encoding=UTF-8 src.dir=src test.src.dir=test

Project3/nbproject/project.xml

org.netbeans.modules.java.j2seproject Project3

Project3/src/project3/Car.java

Project3/src/project3/Car.java

package  project3 ;

public   class   Car   {
     //Properties
     private   String  make ;
     private   String  model ;
     private   double  acceleration ;
     private   int  range ;
     private   double  price ;
     private   int  topSpeed ;

 
     //HINT: SEE DOCUMENT on blackboard that lists the methods of this class//
}

Project3/src/project3/CarSelector.java

Project3/src/project3/CarSelector.java

package  project3 ;

public   class   CarSelector   {
     //Properties
     private   Car []  carList ;
    
     //HINT: SEE DOCUMENT on blackboard that lists the methods of this class//
}

Project3/src/project3/Project3.java

Project3/src/project3/Project3.java

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package  project3 ;

import  javax . swing . JOptionPane ;
import  javax . swing . JTextArea ;

public   class   Project3   {

     public   static   void  main ( String []  args )   {

     //create CarSelector Object
     //HINT: CarSelector aCarSelector = new CarSelector();

     //Create each car object
     // HINT: Car aCar = new Car(...........);
    
     //Add each Car object to CarSelector Object using the .addCar method
     //HINT: aCarSelector.addCar(aCar);
    
     //Create the Main Menu
     //HINT: Look at examples of creating a menu from prior projects
    
     //Use a loop to keep displaying the main menu unless the user clicks on Exit
     //HINT: Look at exmaples of create a loop to keep displaying a menu from prior projects
    
     //Each time the user selects an option from the Main menu display the Sub menu for that option
     //HINT: same as above for main menu
    
     //Use a loop to keep displaying the Sub Menu unless the user clicks on Return to Menu in that case display the Main Menu                       
     //HINT: Same as above
     }  
}