RE: [Bojangles-devel] dom4j help
Status: Alpha
Brought to you by:
nehresma
From: Wesley W. <ka...@om...> - 2002-08-23 12:55:57
|
Yeah I got the email about the picturebutton class, and no, I didnt really need the picturebutton class. I can create the document and all but I can't figure out how to add elements to it. You can see how far I got in MainWindow.java's loadprefs function. Also I can't seem to convince bojangles to display the prefs dialog. As far as what I want prefs.xml to hold... It needs to hold the full path to the browser (i.e. /usr/bin/netscape), the hostname with centrallix on it, the port, the dir where the test xml is held, and the last known save path. The prefs.xml should have this in it. Wes Widner Network Administrator ------------------------------------------------------------------------ Gabriel Resources Toll-free USA: 8-MORE-BOOKS Division of OM Literature Outside USA: 706-554-1594 P.O. Box 1047 Extension: 213 Waynesboro, GA 30830-2047 Fax: 706-554-7444 ka...@om... www.omliterature.org, www.gabriel-resources.com -----------------------------------<>----------------------------------- -----Original Message----- From: boj...@li... [mailto:boj...@li...]On Behalf Of Nathan Ehresman Sent: Thursday, August 22, 2002 6:33 PM To: boj...@li... Subject: Re: [Bojangles-devel] dom4j help sure. i suggest that first we decide what kind of stuff will go into the prefs and maybe the structure of the document. did you have any particular settings in mind you would like retained between bojangles sessions? as far as the actual mojo to create an instance of org.dom4j.Document, this should do the trick: Document doc = DocumentHelper.createDocument(); that'll create an empty document to which elements can be added and queried. did you get my previous email about the PictureButton class? nre ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Bojangles-devel mailing list Boj...@li... https://lists.sourceforge.net/lists/listinfo/bojangles-devel |