|
 |
|
J2Concept® JAVA GURU |
|
|
|
|
|
|
|
|
|
|
|
|
Sample Practical Hands-on labs |
(More than 20 Hands-on labs in the book !!) |
|
|
Hands-on Lab: Parsing XML Document with SAX |
Author: Chart Krobtragolchai |
Tool: NetBeans 5.0 IDE |
Book Chapter Number: 6 of 12 |
Book Chapter Name: SOAP and XML Processing APIs |
(JAXP, JAXB, and SAAJ) |
Book Topic: Simple API for XML (SAX) |
User Level: Beginner - Intermediate |
Book Availability: Open for Reservation !! |
Pages in web: 1, 2, 3, 4, 5 |
|
|
|
|
|
|
|
|
|
|
|
Hands-on Lab Step (Page 1): |
|
|
|
|
|
1. Start the NetBeans 5.0 IDE. |
|
|
2. Choose File > New Project…, then the "New Project" window will appear (see picture).
|
|
|
Select "General" in the Categories part and then select "Java Application" in the Projects part.
|
|
|
|
|
|

|
|
|
|
|
|
3. Type "TrainReader" in the Project Name, and then locate the Project Location.
|
|
|
(Here, we use "D:\Sun_workspace\NetBean".)
|
|
|
Type "TrainReader" in the Create Main Class, and then click "Finish".
|
|
|
|
|
|

|
|
|
|
|
|
translated by J2Concept® |
|
|
Copyright © 2006, J2Concept®. All rights reserved. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|