Click here to Skip to main content
       

Java

 
GeneralRe: Any Java Book Recommend Pinmemberwaylife12-Nov-12 22:07 
AnswerRe: Any Java Book Recommend PinmemberGowtham Gutha9-Nov-12 9:02 
GeneralRe: Any Java Book Recommend Pinmemberwaylife12-Nov-12 22:08 
GeneralRe: Any Java Book Recommend PinmemberGowtham Gutha15-Nov-12 0:22 
GeneralRe: Any Java Book Recommend Pinmemberwaylife15-Nov-12 3:10 
GeneralRe: Any Java Book Recommend Pinmemberwaylife14-Nov-12 0:54 
AnswerRe: Any Java Book Recommend PinmemberIvan Melnikov1-Jul-13 22:38 
QuestionHow to create/set an element of a document Pinmemberprithaa6-Nov-12 3:43 
Hello,
 
I have a code like this
public class Doc extends DefaultStyledDocument{
}
 
 
Doc doc= new Doc();
doc.insertString(0, "This is a working document", null);
AbstractDocument.AbstractElement rootElement = doc.createDefaultRoot(); 
 

Once I create a root element how do I assign or set its value from the doc string.Currently the element is blank.
 
thnaks
Pritha
AnswerRe: How to create/set an element of a document Pinmemberpadmanabanproject7-Nov-12 19:58 
GeneralRe: How to create/set an element of a document Pinmemberprithaa4-Dec-12 3:55 
Questionhow to Use Java to get the database info by Internet Protocol [modified] PinmemberXMafei5-Nov-12 4:03 
AnswerRe: how to Use Java to get the database info by Internet Protocol PinmvpRichard MacCutchan5-Nov-12 5:24 
GeneralRe: how to Use Java to get the database info by Internet Protocol PinmemberXMafei5-Nov-12 13:58 
GeneralRe: how to Use Java to get the database info by Internet Protocol PinmvpRichard MacCutchan5-Nov-12 22:13 
AnswerRe: how to Use Java to get the database info by Internet Protocol Pinmemberjschell5-Nov-12 8:33 
Questionaddress book in java PinmemberShah Baba5-Nov-12 3:19 
AnswerRe: address book in java PinmvpRichard MacCutchan5-Nov-12 3:24 
Questionhi PinmemberMd Abdullah Al Masud4-Nov-12 19:00 
Questionjava progarm Pinmemberhardikv923-Nov-12 22:45 
AnswerRe: java progarm PinmvpRichard MacCutchan4-Nov-12 2:05 
AnswerRe: java progarm PinmemberGowtham Gutha15-Nov-12 1:15 
QuestionUpdating content of JtextField through jbutton in sql server 2005 using netbeans ide and jdk 1.6 PinmemberMember 95656712-Nov-12 0:14 
AnswerRe: Updating content of JtextField through jbutton in sql server 2005 using netbeans ide and jdk 1.6 PinmvpRichard MacCutchan2-Nov-12 0:47 
Question[JAVA] web log file Pinmembermariankral1-Nov-12 1:53 
AnswerRe: [JAVA] web log file PinmemberTorstenH.1-Nov-12 4:03 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 19 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid