Click here to Skip to main content
11,436,803 members (65,273 online)
   

Java

 
GeneralRe: Error show ImageIcon ??? Pin
Gowtham Gutha16-Nov-12 8:08
memberGowtham Gutha16-Nov-12 8:08 
GeneralRe: Error show ImageIcon ??? Pin
TorstenH.18-Nov-12 20:10
memberTorstenH.18-Nov-12 20:10 
AnswerRe: Error show ImageIcon ??? Pin
Gowtham Gutha15-Nov-12 7:43
memberGowtham Gutha15-Nov-12 7:43 
Questionhow to create digital survey android and php?? Pin
Luis Antonio Mantilla9-Nov-12 13:22
memberLuis Antonio Mantilla9-Nov-12 13:22 
QuestionAny Java Book Recommend Pin
waylife7-Nov-12 20:14
memberwaylife7-Nov-12 20:14 
AnswerRe: Any Java Book Recommend Pin
Peter_in_27808-Nov-12 2:13
memberPeter_in_27808-Nov-12 2:13 
GeneralRe: Any Java Book Recommend Pin
waylife12-Nov-12 23:07
memberwaylife12-Nov-12 23:07 
AnswerRe: Any Java Book Recommend Pin
Gowtham Gutha9-Nov-12 10:02
memberGowtham Gutha9-Nov-12 10:02 
GeneralRe: Any Java Book Recommend Pin
waylife12-Nov-12 23:08
memberwaylife12-Nov-12 23:08 
GeneralRe: Any Java Book Recommend Pin
Gowtham Gutha15-Nov-12 1:22
memberGowtham Gutha15-Nov-12 1:22 
GeneralRe: Any Java Book Recommend Pin
waylife15-Nov-12 4:10
memberwaylife15-Nov-12 4:10 
GeneralRe: Any Java Book Recommend Pin
waylife14-Nov-12 1:54
memberwaylife14-Nov-12 1:54 
AnswerRe: Any Java Book Recommend Pin
Ivan Melnikov1-Jul-13 23:38
memberIvan Melnikov1-Jul-13 23:38 
QuestionHow to create/set an element of a document Pin
prithaa6-Nov-12 4:43
memberprithaa6-Nov-12 4: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 Pin
padmanabanproject7-Nov-12 20:58
memberpadmanabanproject7-Nov-12 20:58 
GeneralRe: How to create/set an element of a document Pin
prithaa4-Dec-12 4:55
memberprithaa4-Dec-12 4:55 
Questionhow to Use Java to get the database info by Internet Protocol [modified] Pin
XMafei5-Nov-12 5:03
memberXMafei5-Nov-12 5:03 
AnswerRe: how to Use Java to get the database info by Internet Protocol Pin
Richard MacCutchan5-Nov-12 6:24
mvpRichard MacCutchan5-Nov-12 6:24 
GeneralRe: how to Use Java to get the database info by Internet Protocol Pin
XMafei5-Nov-12 14:58
memberXMafei5-Nov-12 14:58 
GeneralRe: how to Use Java to get the database info by Internet Protocol Pin
Richard MacCutchan5-Nov-12 23:13
mvpRichard MacCutchan5-Nov-12 23:13 
AnswerRe: how to Use Java to get the database info by Internet Protocol Pin
jschell5-Nov-12 9:33
memberjschell5-Nov-12 9:33 
Questionaddress book in java Pin
Shah Baba5-Nov-12 4:19
memberShah Baba5-Nov-12 4:19 
AnswerRe: address book in java Pin
Richard MacCutchan5-Nov-12 4:24
mvpRichard MacCutchan5-Nov-12 4:24 
Questionhi Pin
Md Abdullah Al Masud4-Nov-12 20:00
memberMd Abdullah Al Masud4-Nov-12 20:00 
Questionjava progarm Pin
hardikv923-Nov-12 23:45
memberhardikv923-Nov-12 23:45 
AnswerRe: java progarm Pin
Richard MacCutchan4-Nov-12 3:05
mvpRichard MacCutchan4-Nov-12 3:05 
AnswerRe: java progarm Pin
Gowtham Gutha15-Nov-12 2:15
memberGowtham Gutha15-Nov-12 2:15 
AnswerRe: java progarm Pin
Member 1111060025-Sep-14 17:52
memberMember 1111060025-Sep-14 17:52 
QuestionUpdating content of JtextField through jbutton in sql server 2005 using netbeans ide and jdk 1.6 Pin
Member 95656712-Nov-12 1:14
memberMember 95656712-Nov-12 1:14 
AnswerRe: Updating content of JtextField through jbutton in sql server 2005 using netbeans ide and jdk 1.6 Pin
Richard MacCutchan2-Nov-12 1:47
mvpRichard MacCutchan2-Nov-12 1:47 
Question[JAVA] web log file Pin
mariankral1-Nov-12 2:53
membermariankral1-Nov-12 2:53 
AnswerRe: [JAVA] web log file Pin
TorstenH.1-Nov-12 5:03
memberTorstenH.1-Nov-12 5:03 
Questionquestion Pin
dina rajab28-Oct-12 1:14
memberdina rajab28-Oct-12 1:14 
AnswerRe: question Pin
Richard MacCutchan28-Oct-12 1:23
mvpRichard MacCutchan28-Oct-12 1:23 
Questionjava Pin
dina rajab28-Oct-12 1:11
memberdina rajab28-Oct-12 1:11 
AnswerRe: java Pin
Richard MacCutchan28-Oct-12 1:23
mvpRichard MacCutchan28-Oct-12 1:23 
AnswerRe: java Pin
TorstenH.29-Oct-12 1:38
memberTorstenH.29-Oct-12 1:38 
AnswerRe: java [modified] Pin
April Fans26-Dec-12 18:13
memberApril Fans26-Dec-12 18:13 
QuestionForcing Eclipse webapp home page when debugging Pin
kmg36526-Oct-12 12:53
memberkmg36526-Oct-12 12:53 
AnswerRe: Forcing Eclipse webapp home page when debugging Pin
hbwhypw31-Oct-12 23:46
memberhbwhypw31-Oct-12 23:46 
GeneralRe: Forcing Eclipse webapp home page when debugging Pin
kmg3651-Nov-12 11:24
memberkmg3651-Nov-12 11:24 
GeneralRe: Forcing Eclipse webapp home page when debugging Pin
hbwhypw1-Nov-12 17:04
memberhbwhypw1-Nov-12 17:04 
QuestionIam Facing Problem While Storing record’s in Access Using Applet … Pin
Prabakaran199325-Oct-12 23:06
memberPrabakaran199325-Oct-12 23:06 
AnswerRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
Nagy Vilmos26-Oct-12 0:08
memberNagy Vilmos26-Oct-12 0:08 
GeneralRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
Prabakaran199326-Oct-12 9:30
memberPrabakaran199326-Oct-12 9:30 
GeneralRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
jschell26-Oct-12 9:49
memberjschell26-Oct-12 9:49 
AnswerRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
jschell26-Oct-12 9:55
memberjschell26-Oct-12 9:55 
GeneralRe: Iam Facing Problem While Storing record’s in Access Using Applet … Pin
Prabakaran19932-Nov-12 21:59
memberPrabakaran19932-Nov-12 21:59 
Questiondisplay GROUP BY result [modified] Pin
uti123fil23-Oct-12 22:48
memberuti123fil23-Oct-12 22:48 
AnswerRe: display GROUP BY result Pin
Richard MacCutchan23-Oct-12 23:05
mvpRichard MacCutchan23-Oct-12 23:05 

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
Web01 | 2.8.150428.2 | Last Updated 5 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid