Click here to Skip to main content
15,921,959 members
Home / Discussions / Java
   

Java

 
AnswerRe: Help me! Get profile user of yahoo Pin
TorstenH.21-Jun-11 20:19
TorstenH.21-Jun-11 20:19 
GeneralRe: Help me! Get profile user of yahoo Pin
langthuan21-Jun-11 20:51
langthuan21-Jun-11 20:51 
GeneralRe: Help me! Get profile user of yahoo Pin
TorstenH.21-Jun-11 21:06
TorstenH.21-Jun-11 21:06 
GeneralRe: Help me! Get profile user of yahoo Pin
langthuan21-Jun-11 21:23
langthuan21-Jun-11 21:23 
GeneralRe: Help me! Get profile user of yahoo Pin
TorstenH.21-Jun-11 22:51
TorstenH.21-Jun-11 22:51 
AnswerRe: Help me! Get profile user of yahoo Pin
Nagy Vilmos21-Jun-11 22:20
professionalNagy Vilmos21-Jun-11 22:20 
AnswerRe: Help me! Get profile user of yahoo Pin
Shameel4-Jul-11 8:18
professionalShameel4-Jul-11 8:18 
QuestionHelp Erro Logic Code of java project Pin
HeartsFrozen18-Jun-11 21:26
HeartsFrozen18-Jun-11 21:26 
I have one project java . I want read book.xml by SAX sample . You have dowload my project to check erro http://www.mediafire.com/?a721nrt49a7eokv[^]
this struct of Book.xml :
<?xml version="1.0"?><br />
<catalog><br />
   <book id="bk101"><br />
      <author>Gambardella, Matthew</author><br />
      <title>XML Developer's Guide</title><br />
      <genre>Computer</genre><br />
      <price>44.95</price><br />
      <publish_date>2000-10-01</publish_date><br />
      <description>An in-depth look at creating applications <br />
      with XML.</description><br />
   </book><br />
   <book id="bk102"><br />
      <author>Ralls, Kim</author><br />
      <title>Midnight Rain</title><br />
      <genre>Fantasy</genre><br />
      <price>5.95</price><br />
      <publish_date>2000-12-16</publish_date><br />
      <description>A former architect battles corporate zombies, <br />
      an evil sorceress, and her own childhood to become queen <br />
      of the world.</description><br />
   </book><br />
   <book id="bk103"><br />
      <author>Corets, Eva</author><br />
      <title>Maeve Ascendant</title><br />
      <genre>Fantasy</genre><br />
      <price>5.95</price><br />
      <publish_date>2000-11-17</publish_date><br />
      <description>After the collapse of a nanotechnology <br />
      society in England, the young survivors lay the <br />
      foundation for a new society.</description><br />
   </book><br />
   <book id="bk104"><br />
      <author>Corets, Eva</author><br />
      <title>Oberon's Legacy</title><br />
      <genre>Fantasy</genre><br />
      <price>5.95</price><br />
      <publish_date>2001-03-10</publish_date><br />
      <description>In post-apocalypse England, the mysterious <br />
      agent known only as Oberon helps to create a new life <br />
      for the inhabitants of London. Sequel to Maeve <br />
      Ascendant.</description><br />
   </book><br />
   <book id="bk105"><br />
      <author>Corets, Eva</author><br />
      <title>The Sundered Grail</title><br />
      <genre>Fantasy</genre><br />
      <price>5.95</price><br />
      <publish_date>2001-09-10</publish_date><br />
      <description>The two daughters of Maeve, half-sisters, <br />
      battle one another for control of England. Sequel to <br />
      Oberon's Legacy.</description><br />
   </book><br />
   <book id="bk106"><br />
      <author>Randall, Cynthia</author><br />
      <title>Lover Birds</title><br />
      <genre>Romance</genre><br />
      <price>4.95</price><br />
      <publish_date>2000-09-02</publish_date><br />
      <description>When Carla meets Paul at an ornithology <br />
      conference, tempers fly as feathers get ruffled.</description><br />
   </book><br />
   <book id="bk107"><br />
      <author>Thurman, Paula</author><br />
      <title>Splish Splash</title><br />
      <genre>Romance</genre><br />
      <price>4.95</price><br />
      <publish_date>2000-11-02</publish_date><br />
      <description>A deep sea diver finds true love twenty <br />
      thousand leagues beneath the sea.</description><br />
   </book><br />
   <book id="bk108"><br />
      <author>Knorr, Stefan</author><br />
      <title>Creepy Crawlies</title><br />
      <genre>Horror</genre><br />
      <price>4.95</price><br />
      <publish_date>2000-12-06</publish_date><br />
      <description>An anthology of horror stories about roaches,<br />
      centipedes, scorpions  and other insects.</description><br />
   </book><br />
   <book id="bk109"><br />
      <author>Kress, Peter</author><br />
      <title>Paradox Lost</title><br />
      <genre>Science Fiction</genre><br />
      <price>6.95</price><br />
      <publish_date>2000-11-02</publish_date><br />
      <description>After an inadvertant trip through a Heisenberg<br />
      Uncertainty Device, James Salway discovers the problems <br />
      of being quantum.</description><br />
   </book><br />
   <book id="bk110"><br />
      <author>O'Brien, Tim</author><br />
      <title>Microsoft .NET: The Programming Bible</title><br />
      <genre>Computer</genre><br />
      <price>36.95</price><br />
      <publish_date>2000-12-09</publish_date><br />
      <description>Microsoft's .NET initiative is explored in <br />
      detail in this deep programmer's reference.</description><br />
   </book><br />
   <book id="bk111"><br />
      <author>O'Brien, Tim</author><br />
      <title>MSXML3: A Comprehensive Guide</title><br />
      <genre>Computer</genre><br />
      <price>36.95</price><br />
      <publish_date>2000-12-01</publish_date><br />
      <description>The Microsoft MSXML3 parser is covered in <br />
      detail, with attention to XML DOM interfaces, XSLT processing, <br />
      SAX and more.</description><br />
   </book><br />
   <book id="bk112"><br />
      <author>Galos, Mike</author><br />
      <title>Visual Studio 7: A Comprehensive Guide</title><br />
      <genre>Computer</genre><br />
      <price>49.95</price><br />
      <publish_date>2001-04-16</publish_date><br />
      <description>Microsoft Visual Studio 7 is explored in depth,<br />
      looking at how Visual Basic, Visual C++, C#, and ASP+ are <br />
      integrated into a comprehensive development <br />
      environment.</description><br />
   </book><br />
</catalog><br />

The First , i read Books.xml by startElement(),endElement(). At endElement(), instale object Books class and add it in the ArrayList(listBook).I used method getListBook() return ArrayList <books> . At main() in class xxx.java, i print console by "read" all object in List.
Thank
AnswerRe: Help Erro Logic Code of java project Pin
Richard MacCutchan18-Jun-11 21:52
mveRichard MacCutchan18-Jun-11 21:52 
AnswerRe: Help Erro Logic Code of java project Pin
HeartsFrozen18-Jun-11 22:08
HeartsFrozen18-Jun-11 22:08 
QuestionHow to capture image writing Java code Pin
Ravindra Thakare16-Jun-11 21:18
Ravindra Thakare16-Jun-11 21:18 
AnswerRe: How to capture image writing Java code Pin
Nagy Vilmos16-Jun-11 22:16
professionalNagy Vilmos16-Jun-11 22:16 
QuestionDatabase question Pin
TheMrProgrammer16-Jun-11 7:01
TheMrProgrammer16-Jun-11 7:01 
AnswerRe: Database question Pin
Nagy Vilmos16-Jun-11 22:15
professionalNagy Vilmos16-Jun-11 22:15 
GeneralRe: Database question Pin
jschell17-Jun-11 12:07
jschell17-Jun-11 12:07 
GeneralRe: Database question Pin
Nagy Vilmos17-Jun-11 20:02
professionalNagy Vilmos17-Jun-11 20:02 
GeneralRe: Database question Pin
jschell20-Jun-11 8:06
jschell20-Jun-11 8:06 
AnswerRe: Database question Pin
jschell17-Jun-11 12:12
jschell17-Jun-11 12:12 
QuestionJCombobox multi comlumn in java desktop Pin
Vuthh15-Jun-11 17:01
Vuthh15-Jun-11 17:01 
AnswerRe: JCombobox multi comlumn in java desktop Pin
Peter_in_278015-Jun-11 17:54
professionalPeter_in_278015-Jun-11 17:54 
AnswerRe: JCombobox multi comlumn in java desktop Pin
Nagy Vilmos15-Jun-11 23:29
professionalNagy Vilmos15-Jun-11 23:29 
QuestionJar extraction errors [modified] Pin
Liam S. Crouch14-Jun-11 3:02
Liam S. Crouch14-Jun-11 3:02 
AnswerRe: Jar extraction errors Pin
Nagy Vilmos14-Jun-11 3:15
professionalNagy Vilmos14-Jun-11 3:15 
GeneralRe: Jar extraction errors Pin
Liam S. Crouch14-Jun-11 3:18
Liam S. Crouch14-Jun-11 3:18 
AnswerRe: Jar extraction errors Pin
Nagy Vilmos14-Jun-11 3:23
professionalNagy Vilmos14-Jun-11 3:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.