Question
Asked by:
missprince
missprince
Rating : No Rating
Questions Asked: 6
Tutorials Posted: 0
 

$8.00 Addtional help-Product Record

Q:

I have the first part done correctly but I need addtional help.  I have attached what was done so far.

The application should repeatedly prompt for this product information until terminated by the user. Do not use Ctrl-Z to terminate as NetBeans does not recognize this for terminating input. In fact, Ctrl-Z is an editing command in NetBeans. After each pass of user entering product information, prompt the user with a choice to continue entering product information or not. Be sure your prompt clearly tells the user what to enter depending on their choice. Using their entered response, determine whether or not you should prompt for another product’s information or terminate the application.

In the discussion area, write a 1-2 paragraph essay that explains which input and output stream classes you used and your reasons for your choice.

 
Attachments:
Phase1db.zip (18K)


   
   
   
   
 
Available Tutorials to this Question
Posted by:
Neel
Neel
Rating (237): C
Questions Asked: 0
Tutorials Posted: 1637, earned $2,004.41
 

$8.00 Solution

  • This tutorial hasn't been purchased yet.
  • Posted on Oct 05, 2009 at 04:33:25PM
A:
Preview: ... n directly as it is in zip format. So i have send the solution ...

The full tutorial is about 51 words long .
Posted by:
modulo51
modulo51
Rating (110): A-
Questions Asked: 1
Tutorials Posted: 353, earned $2,117.64
 

$8.00 Java: add class to get user input write to text file(appending), NetBeans project, UseNotes, ScreenShot

  • This tutorial was purchased 1 time and rated A+ by students like you.
  • Posted on Oct 05, 2009 at 8:57:59PM
A:
Preview: ... ding enabled.\n");         } catch (Exception e) {             System.out.println(                     "openProductFileForWrinting, "                     e.toString());         }     }     public static void getUserInput() {         String choice;         while (true) {             System.out.print("Do you want to input more product information? (Y or N): ");             choice = keyboard.nextLine().trim(); // trim leading & trailing spaces             if (choice.equalsIgnoreCase("n")) { // no more input, close file, return                 outStr ...

The full tutorial is about 278 words long plus attachments.

Attachments:
WriteProductFile.java (3K) (Preview)
UseNotes.txt (7K) (Preview)
consoleOutputScreenShot.jpg (105K) (Preview)
Phase1dbZipped.zip (83K) 

 Phase1dbZipped/consoleOutput.html
 Phase1dbZipped/consoleOutput.txt
 Phase1dbZipped/consoleOutputScreenShot.jpg
 Phase1dbZipped/Phase1db/build.xml
 Phase1dbZipped/Phase1db/build/classes/.netbeans_automatic_build
 Phase1dbZipped/Phase1db/build/classes/phase1db/ProductRecord1.class
 Phase1dbZipped/Phase1db/build/classes/phase1db/ReadProductFile.class
 Phase1dbZipped/Phase1db/build/classes/phase1db/ReadProductFileTest.class
 Phase1dbZipped/Phase1db/build/classes/phase1db/WriteProductFile.class
 Phase1dbZipped/Phase1db/dist/Phase1db.jar
 Phase1dbZipped/Phase1db/dist/README.TXT
 Phase1dbZipped/Phase1db/GiftIdeas.txt
 Phase1dbZipped/Phase1db/manifest.mf
 Phase1dbZipped/Phase1db/nbproject/build-impl.xml
 Phase1dbZipped/Phase1db/nbproject/genfiles.properties
 Phase1dbZipped/Phase1db/nbproject/private/private.properties
 Phase1dbZipped/Phase1db/nbproject/private/private.xml
 Phase1dbZipped/Phase1db/nbproject/project.properties
 Phase1dbZipped/Phase1db/nbproject/project.xml
 Phase1dbZipped/Phase1db/product.txt
 Phase1dbZipped/Phase1db/src/phase1db/ProductRecord1.java
 Phase1dbZipped/Phase1db/src/phase1db/ReadProductFile.java
 Phase1dbZipped/Phase1db/src/phase1db/ReadProductFileTest.java
 Phase1dbZipped/Phase1db/src/phase1db/WriteProductFile.java
 Phase1dbZipped/Phase1db/WishList.txt
 Phase1dbZipped/UseNotes.txt
 ]

Posted by:
techies4U
techies4U
Rating (3): A
Questions Asked: 0
Tutorials Posted: 18, earned $17.60
 

$8.00 Great work and well tested

  • This tutorial hasn't been purchased yet.
  • Posted on Oct 06, 2009 at 02:31:23PM
A:
Preview: ... good work on n ...

The full tutorial is about 14 words long plus attachments.

Attachments:
Phase1db.zip (153K) 

 Product_1/build/classes/.netbeans_automatic_build
 Product_1/build/classes/Main.class
 Product_1/build/classes/product_1/Main.rs
 Product_1/build.xml
 Product_1/dist/Product_1.jar
 Product_1/dist/README.TXT
 Product_1/Justification_ BufferedReader.txt
 Product_1/manifest.mf
 Product_1/nbproject/build-impl.xml
 Product_1/nbproject/genfiles.properties
 Product_1/nbproject/private/private.properties
 Product_1/nbproject/private/private.xml
 Product_1/nbproject/project.properties
 Product_1/nbproject/project.xml
 Product_1/Products.txt
 Product_1/Products_1_Screen.jpg
 Product_1/src/product_1/Main.java
 ]

   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty