SlideShare a Scribd company logo
Ordering System IP2/build/classes/.netbeans_automatic_build
Ordering System IP2/build/classes/.netbeans_update_resources
Ordering System
IP2/build/classes/online/ordering/system/ip1/OnlineOrderingSys
temIP1.classpackage online.ordering.system.ip1;
publicsynchronizedclass OnlineOrderingSystemIP1 {
public void OnlineOrderingSystemIP1();
privatestatic String getStringInput(String);
privatestatic double totalCost(int, double, double);
publicstatic void main(String[]);
}
Ordering System IP2/build.xml
Builds, tests, and runs the project Online Ordering System
IP1.
Ordering System IP2/manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
Ordering System IP2/nbproject/build-impl.xml
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
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
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Must set javac.includes
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
No tests executed.
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Must set JVM to use for profiling in profiler.info.jvm
Must set profiler agent JVM arguments in
profiler.info.jvmargs.agent
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
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
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
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
Ordering System IP2buildclasses.netbeans_automatic_buildO.docx
Ordering System IP2/nbproject/genfiles.properties
build.xml.data.CRC32=3fef0086
build.xml.script.CRC32=4bdc748b
[email protected]
# 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=3fef0086
nbproject/build-impl.xml.script.CRC32=ade8263c
nbproject/[email protected]
Ordering System IP2/nbproject/private/private.properties
compile.on.save=true
user.properties.file=C:Usersgenta_000AppDataRoaming
NetBeans8.0.1build.properties
Ordering System IP2/nbproject/private/private.xml
file:/C:/Users/genta_000/Documents/NetBeansProjects/Online%
20Ordering%20System%20IP1/src/online/ordering/system/ip1/O
nlineOrderingSystemIP1.java
Ordering System IP2/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}/Online_Ordering_System_IP1.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.processorpath=
${javac.classpath}
javac.source=1.7
javac.target=1.7
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=online.ordering.system.ip1.OnlineOrderingSystemIP
1
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
Ordering System IP2/nbproject/project.xml
org.netbeans.modules.java.j2seproject
Online Ordering System IP1
Ordering System
IP2/src/online/ordering/system/ip1/OnlineOrderingSystemIP1.ja
vaOrdering System
IP2/src/online/ordering/system/ip1/OnlineOrderingSystemIP1.ja
va/*
* To change this license header, choose License Headers in Pro
ject Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package online.ordering.system.ip1;
import javax.swing.JOptionPane;
/**
*
* @author James.Williams
* 10/13/2014
*/
publicclassOnlineOrderingSystemIP1{
privatestaticString getStringInput(String prompt){
String input=null;
int count=0;
while(count<3){
input=JOptionPane.showInputDialog(prompt);
if(!(input.trim()).isEmpty()){
break;
}
count++;
//JOptionPane.showMessageDialog(null, "You must enter somet
hing in the prompt,n Please try again, count remains "+(3-
count));
}
if(input.isEmpty()){
JOptionPane.showMessageDialog(null,"You must enter somethi
ng in the prompt,n Please try again latter");
System.exit(1);
}
return input;
}
privatestaticdouble totalCost(int number,double cost,double sale
sTaxRate){
double total=number*cost;
double tax=total*salesTaxRate/100;
return(total+tax);
}
/**
* @param args the command line arguments
*/
publicstaticvoid main(String[] args){
// declare variables
String openingMsg, customerName, nameOutputMsg
, customerReturn, returnOutputMsg,
greetingOutputMsg, outputMsg,
colorOutputMsg, tabletColor,totalCostMsg;
int quantity=0;
double unitCost=799;
double totalCost=0;
double taxRate=5;
// display opening message
openingMsg ="*** Welcome to Microsoft's Online Orderin
g System ***n"
+" It's a great day to order a Tablet!";
JOptionPane.showMessageDialog(null, openingMsg);
// get required input using dialogs
customerName = getStringInput("Please enter your name:
");
customerReturn =getStringInput("Are you a returning cust
omer (yes or no)? ");
// Addition of Color Selection
tabletColor = getStringInput("Please select a colo
r for your Tablet: ");
boolean isNumber=false;
do{
try{
quantity=Integer.parseInt(getStringInput("Pleas
e enter quantity to order"));
isNumber=true;
}catch(NumberFormatException rr){
JOptionPane.showMessageDialog(null,"Quantity must be a num
ber");
}
}while(!isNumber);
totalCost=totalCost(quantity,unitCost,taxRate);
// build output strings
nameOutputMsg ="Welcome "+ customerName +".nn";
returnOutputMsg ="Your return customer status is "+ cus
tomerReturn +".n";
colorOutputMsg ="Your Tablet color is: "+ tabletColor +"
n";
totalCostMsg="Total cost for "+quantity+" item(s) is
: $"+totalCost+"n";
greetingOutputMsg ="Thank you for visiting Microso
ft!"+"nn"
+"Your order should ship in less than 48 hours.n";
// create and display output string
outputMsg = nameOutputMsg + returnOutputMsg + colorO
utputMsg +totalCostMsg+greetingOutputMsg;
JOptionPane.showMessageDialog(null, outputMsg);
System.exit(0);
}// end main()
}// end class PizzasRUsPhase1
James Williams_IT110_IP2.doc.docx
IT110-1404A-02 Introduction to Programming
Phase 1 Ip
James Williams
10/13/2014
Microsoft Software Company Williams, James
Phase 1 Ip
Table of Contents
Page #
1. Warranty Information 1
2. Product Support 5
3. Contact Microsoft 9
4. How to Setup 13
a. How to Operate 17
5. Regulatory Model 21
a. Regulatory Type 23
6. Laptop Model 27
7. Letters of Support (submitted independently)
Week 1: Project Description
Microsoft was founded in 1975. Our mission is to enable people
and businesses throughout the world to realize their full
potential. We work to achieve this mission by creating
technology that transforms the way people work, play, and
communicate. We develop and market software, services, and
hardware that deliver new opportunities, greater convenience,
and enhanced value to people's lives. We do business worldwide
and have offices in more than 100 countries.
We generate revenue by developing, licensing, and supporting a
wide range of software products and services, by designing and
selling hardware, and by delivering relevant online advertising
to a global customer audience. In addition to selling individual
products and services, we offer suites of products and services.
Our products include operating systems for personal computers
("PCs"), servers, phones, and other intelligent devices; server
applications for distributed computing environments;
productivity applications; business solution applications;
desktop and server management tools; software development
tools; video games; and online advertising. We also design and
sell hardware including the Xbox 360 gaming and entertainment
console, Kinect for Xbox 360, Xbox 360 accessories, and
Microsoft PC hardware products.
We provide consulting and product and solution support
services, and we train and certify computer system integrators
and developers. We also offer cloud-based solutions that
provide customers with software, services and content over the
Internet by way of shared computing resources located in
centralized data centers. Cloud revenue is earned primarily from
usage fees and advertising.
The product we will discussing is the Microsoft Surface Pro 3,
the tablet that will replace your laptop. It is sleek and stylish
design gives you the power of a laptop with the flexibility of a
tablet. This tabet barely tips the scales at 1.76 pounds which
allows you to take it everywhere. It has a 12 inch screen that is
full HD and a screen resolution of 2160 x 1440. The battery life
is excellent with up to 9 hours of continuous web browsing.
This tablet also features a S.Pen and a 4th generation Intel Core
processor. It runs off or our new addition to the family
Windows 8. The Surface Pro 3 come in a variety of colors for
your style/liking.
· Bing, our Internet search engine that finds and organizes the
answers people need so they can make faster, more informed
decisions;
· Windows Live Essentials suite, which allows users to upload,
organize and store photos, make movies, communicate via
video, email, and messaging, and enhance online safety;
· Xbox LIVE service, which enables online gaming, social
networking, and access to a wide range of video, gaming, and
entertainment content;
· Microsoft Office 365, an online suite that enables people to
work from virtually anywhere, anytime, and on any device with
simple, familiar collaboration and communication solutions,
including Microsoft Office, Exchange, SharePoint, and Lync;
· Microsoft Dynamics CRM Online customer relationship
management services for sales, service and marketing
professionals provided through a familiar Microsoft Outlook
interface; and
Week 1: Java Fundamentals
Week 2: Java Control Structures
Week 3: Error Handling and File Input or Output
TBD
Week 4: Object-Oriented Techniques
TBD
Week 5: Inheritance and Polymorphism
TBD
References
TBD

More Related Content

DOCX
James Williams_IT110_IP1.doc.docxIT110-1404A-02 Introduction.docx
DOCX
CommissionCalculationbuildclasses.netbeans_automatic_build.docx
DOCX
IP3build.xml Builds, tests, and runs the project IP3..docx
DOCX
Project3build.xml Builds, tests, and runs the project .docx
DOCX
HW_6-1build.xml Builds, tests, and runs the project HW.docx
DOCX
JobTestbuild.xml Builds, tests, and runs the project J.docx
DOCX
Generated by CamScanner from intsig.comR416build.xml.docx
DOCX
gUIsInterfacebuild.xml Builds, tests, and runs the pro.docx
James Williams_IT110_IP1.doc.docxIT110-1404A-02 Introduction.docx
CommissionCalculationbuildclasses.netbeans_automatic_build.docx
IP3build.xml Builds, tests, and runs the project IP3..docx
Project3build.xml Builds, tests, and runs the project .docx
HW_6-1build.xml Builds, tests, and runs the project HW.docx
JobTestbuild.xml Builds, tests, and runs the project J.docx
Generated by CamScanner from intsig.comR416build.xml.docx
gUIsInterfacebuild.xml Builds, tests, and runs the pro.docx

Similar to Ordering System IP2buildclasses.netbeans_automatic_buildO.docx (20)

DOCX
Lab 1Banking Systembuild.xmlBuilds, tests, and runs the proj.docx
DOCX
Question IYou are going to use the semaphores for process sy.docx
DOCX
Total Compensationbuild.xml Builds, tests, and runs th.docx
DOCX
MyTunesbuild.xml Builds, tests, and runs the project M.docx
PPTX
Rapid java application development @ JUG.ru 25.02.2012
DOCX
stateDatabuild.xml Builds, tests, and runs the project.docx
PPTX
Apache Maven
PPTX
Why Doesn't Java Has Instant Turnaround - Con-FESS 2012
PDF
Developing Useful APIs
DOCX
Introduction To Programming IP5
DOCX
Broncosbuild.xmlBuilds, tests, and runs the project Broncos..docx
KEY
groovy & grails - lecture 6
PDF
The Performance Engineer's Guide To HotSpot Just-in-Time Compilation
PDF
Java Internship in Noida For B.Tech, MCA
PDF
Introduction to OSGi (Tokyo JUG)
DOCX
food,banana,5,200.0food,bread,10,120.0household,toaster,5.docx
PPTX
NetBeans Plugin Development: JRebel Experience Report
PPTX
Introduction to java
PDF
Spring Roo 1.0.0 Technical Deep Dive
PDF
Core Java Training
Lab 1Banking Systembuild.xmlBuilds, tests, and runs the proj.docx
Question IYou are going to use the semaphores for process sy.docx
Total Compensationbuild.xml Builds, tests, and runs th.docx
MyTunesbuild.xml Builds, tests, and runs the project M.docx
Rapid java application development @ JUG.ru 25.02.2012
stateDatabuild.xml Builds, tests, and runs the project.docx
Apache Maven
Why Doesn't Java Has Instant Turnaround - Con-FESS 2012
Developing Useful APIs
Introduction To Programming IP5
Broncosbuild.xmlBuilds, tests, and runs the project Broncos..docx
groovy & grails - lecture 6
The Performance Engineer's Guide To HotSpot Just-in-Time Compilation
Java Internship in Noida For B.Tech, MCA
Introduction to OSGi (Tokyo JUG)
food,banana,5,200.0food,bread,10,120.0household,toaster,5.docx
NetBeans Plugin Development: JRebel Experience Report
Introduction to java
Spring Roo 1.0.0 Technical Deep Dive
Core Java Training

More from hopeaustin33688 (20)

DOCX
This modules animation What Is Communication provides background .docx
DOCX
▪Nursing Theory PowerPoint Presentation.This is a group project .docx
DOCX
••You are required to write a story; explaining and analyzing .docx
DOCX
•Required to read American Mashup A Popular Culture Reader. Ed. A.docx
DOCX
• ntercultural Activity Presentation Final SubmissionResourc.docx
DOCX
•Read Chapter 15 from your textbookEthical Controversy Ident.docx
DOCX
·    ResearchWorks Cited Page (minimum of 5 reputable resources.docx
DOCX
‘The Other Side of Immigration’ Questions1. What does one spea.docx
DOCX
•Topic What is an ethical leader and how do ethical leaders differ .docx
DOCX
·Term Paper International TerrorismDue Week 10 and worth .docx
DOCX
•Prepare a 4-5 page draft Code of Ethics paper sharing the following.docx
DOCX
·Sketch the context for, define, and tell the significanceafter.docx
DOCX
• Each thread is 650 words• Each thread and reply references at le.docx
DOCX
ØFind a Food borne epidemicIllness that occurred in the U.S. in.docx
DOCX
Organizational BehaviorDisney Animation - John LasseterThe case focu.docx
DOCX
Organizational Behavior15th EdPersonality and ValuesCopy.docx
DOCX
Organizational Behavior Case Study on LeadershipName Tan Yee .docx
DOCX
ORGANIZATIONAL ASSESSMENT WORKSHEETOrganizational ProfileT.docx
DOCX
Organisations and LeadershipOrganisational BehaviourDeve.docx
DOCX
Organizational Behavior15th EdEmotions and MoodsCopyrigh.docx
This modules animation What Is Communication provides background .docx
▪Nursing Theory PowerPoint Presentation.This is a group project .docx
••You are required to write a story; explaining and analyzing .docx
•Required to read American Mashup A Popular Culture Reader. Ed. A.docx
• ntercultural Activity Presentation Final SubmissionResourc.docx
•Read Chapter 15 from your textbookEthical Controversy Ident.docx
·    ResearchWorks Cited Page (minimum of 5 reputable resources.docx
‘The Other Side of Immigration’ Questions1. What does one spea.docx
•Topic What is an ethical leader and how do ethical leaders differ .docx
·Term Paper International TerrorismDue Week 10 and worth .docx
•Prepare a 4-5 page draft Code of Ethics paper sharing the following.docx
·Sketch the context for, define, and tell the significanceafter.docx
• Each thread is 650 words• Each thread and reply references at le.docx
ØFind a Food borne epidemicIllness that occurred in the U.S. in.docx
Organizational BehaviorDisney Animation - John LasseterThe case focu.docx
Organizational Behavior15th EdPersonality and ValuesCopy.docx
Organizational Behavior Case Study on LeadershipName Tan Yee .docx
ORGANIZATIONAL ASSESSMENT WORKSHEETOrganizational ProfileT.docx
Organisations and LeadershipOrganisational BehaviourDeve.docx
Organizational Behavior15th EdEmotions and MoodsCopyrigh.docx

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Classroom Observation Tools for Teachers
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Institutional Correction lecture only . . .
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
master seminar digital applications in india
01-Introduction-to-Information-Management.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Cell Types and Its function , kingdom of life
Sports Quiz easy sports quiz sports quiz
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
Classroom Observation Tools for Teachers
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Module 4: Burden of Disease Tutorial Slides S2 2025
2.FourierTransform-ShortQuestionswithAnswers.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
RMMM.pdf make it easy to upload and study
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
GDM (1) (1).pptx small presentation for students
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Institutional Correction lecture only . . .
102 student loan defaulters named and shamed – Is someone you know on the list?
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
master seminar digital applications in india

Ordering System IP2buildclasses.netbeans_automatic_buildO.docx

  • 1. Ordering System IP2/build/classes/.netbeans_automatic_build Ordering System IP2/build/classes/.netbeans_update_resources Ordering System IP2/build/classes/online/ordering/system/ip1/OnlineOrderingSys temIP1.classpackage online.ordering.system.ip1; publicsynchronizedclass OnlineOrderingSystemIP1 { public void OnlineOrderingSystemIP1(); privatestatic String getStringInput(String); privatestatic double totalCost(int, double, double); publicstatic void main(String[]); } Ordering System IP2/build.xml Builds, tests, and runs the project Online Ordering System IP1. Ordering System IP2/manifest.mf Manifest-Version: 1.0 X-COMMENT: Main-Class will be added automatically by build Ordering System IP2/nbproject/build-impl.xml
  • 7. 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
  • 21. Must set JVM to use for profiling in profiler.info.jvm Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
  • 27. Must select some files in the IDE or set javac.includes
  • 28. To run this application from the command line without Ant, try: java -jar "${dist.jar.resolved}"
  • 29. Must select one file in the IDE or set run.class Must select one file in the IDE or set run.class
  • 30. 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
  • 31. 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.
  • 32. This target only works when run from inside the NetBeans IDE.
  • 33. 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
  • 35. Must select some files in the IDE or set javac.includes
  • 36. 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
  • 37. 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
  • 39. Ordering System IP2/nbproject/genfiles.properties build.xml.data.CRC32=3fef0086 build.xml.script.CRC32=4bdc748b [email protected] # 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=3fef0086 nbproject/build-impl.xml.script.CRC32=ade8263c nbproject/[email protected] Ordering System IP2/nbproject/private/private.properties compile.on.save=true user.properties.file=C:Usersgenta_000AppDataRoaming NetBeans8.0.1build.properties Ordering System IP2/nbproject/private/private.xml
  • 41. # 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}/Online_Ordering_System_IP1.jar dist.javadoc.dir=${dist.dir}/javadoc excludes=
  • 42. includes=** jar.compress=false javac.classpath= # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false javac.processorpath= ${javac.classpath} javac.source=1.7 javac.target=1.7 javac.test.classpath= ${javac.classpath}: ${build.classes.dir} javac.test.processorpath= ${javac.test.classpath} javadoc.additionalparam= javadoc.author=false javadoc.encoding=${source.encoding}
  • 44. # 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 Ordering System IP2/nbproject/project.xml org.netbeans.modules.java.j2seproject Online Ordering System IP1
  • 45. Ordering System IP2/src/online/ordering/system/ip1/OnlineOrderingSystemIP1.ja vaOrdering System IP2/src/online/ordering/system/ip1/OnlineOrderingSystemIP1.ja va/* * To change this license header, choose License Headers in Pro ject Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package online.ordering.system.ip1; import javax.swing.JOptionPane; /** * * @author James.Williams * 10/13/2014 */ publicclassOnlineOrderingSystemIP1{ privatestaticString getStringInput(String prompt){ String input=null; int count=0; while(count<3){ input=JOptionPane.showInputDialog(prompt); if(!(input.trim()).isEmpty()){ break; } count++; //JOptionPane.showMessageDialog(null, "You must enter somet hing in the prompt,n Please try again, count remains "+(3- count)); }
  • 46. if(input.isEmpty()){ JOptionPane.showMessageDialog(null,"You must enter somethi ng in the prompt,n Please try again latter"); System.exit(1); } return input; } privatestaticdouble totalCost(int number,double cost,double sale sTaxRate){ double total=number*cost; double tax=total*salesTaxRate/100; return(total+tax); } /** * @param args the command line arguments */ publicstaticvoid main(String[] args){ // declare variables String openingMsg, customerName, nameOutputMsg , customerReturn, returnOutputMsg, greetingOutputMsg, outputMsg, colorOutputMsg, tabletColor,totalCostMsg; int quantity=0; double unitCost=799; double totalCost=0; double taxRate=5; // display opening message openingMsg ="*** Welcome to Microsoft's Online Orderin g System ***n" +" It's a great day to order a Tablet!"; JOptionPane.showMessageDialog(null, openingMsg); // get required input using dialogs customerName = getStringInput("Please enter your name: "); customerReturn =getStringInput("Are you a returning cust
  • 47. omer (yes or no)? "); // Addition of Color Selection tabletColor = getStringInput("Please select a colo r for your Tablet: "); boolean isNumber=false; do{ try{ quantity=Integer.parseInt(getStringInput("Pleas e enter quantity to order")); isNumber=true; }catch(NumberFormatException rr){ JOptionPane.showMessageDialog(null,"Quantity must be a num ber"); } }while(!isNumber); totalCost=totalCost(quantity,unitCost,taxRate); // build output strings nameOutputMsg ="Welcome "+ customerName +".nn"; returnOutputMsg ="Your return customer status is "+ cus tomerReturn +".n"; colorOutputMsg ="Your Tablet color is: "+ tabletColor +" n"; totalCostMsg="Total cost for "+quantity+" item(s) is : $"+totalCost+"n"; greetingOutputMsg ="Thank you for visiting Microso ft!"+"nn" +"Your order should ship in less than 48 hours.n"; // create and display output string outputMsg = nameOutputMsg + returnOutputMsg + colorO utputMsg +totalCostMsg+greetingOutputMsg; JOptionPane.showMessageDialog(null, outputMsg); System.exit(0); }// end main()
  • 48. }// end class PizzasRUsPhase1 James Williams_IT110_IP2.doc.docx IT110-1404A-02 Introduction to Programming Phase 1 Ip James Williams 10/13/2014 Microsoft Software Company Williams, James Phase 1 Ip Table of Contents Page # 1. Warranty Information 1 2. Product Support 5 3. Contact Microsoft 9 4. How to Setup 13 a. How to Operate 17 5. Regulatory Model 21 a. Regulatory Type 23 6. Laptop Model 27 7. Letters of Support (submitted independently) Week 1: Project Description Microsoft was founded in 1975. Our mission is to enable people and businesses throughout the world to realize their full potential. We work to achieve this mission by creating
  • 49. technology that transforms the way people work, play, and communicate. We develop and market software, services, and hardware that deliver new opportunities, greater convenience, and enhanced value to people's lives. We do business worldwide and have offices in more than 100 countries. We generate revenue by developing, licensing, and supporting a wide range of software products and services, by designing and selling hardware, and by delivering relevant online advertising to a global customer audience. In addition to selling individual products and services, we offer suites of products and services. Our products include operating systems for personal computers ("PCs"), servers, phones, and other intelligent devices; server applications for distributed computing environments; productivity applications; business solution applications; desktop and server management tools; software development tools; video games; and online advertising. We also design and sell hardware including the Xbox 360 gaming and entertainment console, Kinect for Xbox 360, Xbox 360 accessories, and Microsoft PC hardware products. We provide consulting and product and solution support services, and we train and certify computer system integrators and developers. We also offer cloud-based solutions that provide customers with software, services and content over the Internet by way of shared computing resources located in centralized data centers. Cloud revenue is earned primarily from usage fees and advertising. The product we will discussing is the Microsoft Surface Pro 3, the tablet that will replace your laptop. It is sleek and stylish design gives you the power of a laptop with the flexibility of a tablet. This tabet barely tips the scales at 1.76 pounds which allows you to take it everywhere. It has a 12 inch screen that is full HD and a screen resolution of 2160 x 1440. The battery life is excellent with up to 9 hours of continuous web browsing. This tablet also features a S.Pen and a 4th generation Intel Core processor. It runs off or our new addition to the family Windows 8. The Surface Pro 3 come in a variety of colors for
  • 50. your style/liking. · Bing, our Internet search engine that finds and organizes the answers people need so they can make faster, more informed decisions; · Windows Live Essentials suite, which allows users to upload, organize and store photos, make movies, communicate via video, email, and messaging, and enhance online safety; · Xbox LIVE service, which enables online gaming, social networking, and access to a wide range of video, gaming, and entertainment content; · Microsoft Office 365, an online suite that enables people to work from virtually anywhere, anytime, and on any device with simple, familiar collaboration and communication solutions, including Microsoft Office, Exchange, SharePoint, and Lync; · Microsoft Dynamics CRM Online customer relationship management services for sales, service and marketing professionals provided through a familiar Microsoft Outlook interface; and Week 1: Java Fundamentals Week 2: Java Control Structures
  • 51. Week 3: Error Handling and File Input or Output TBD Week 4: Object-Oriented Techniques TBD Week 5: Inheritance and Polymorphism TBD References TBD