Click here to Skip to main content
15,881,882 members
Home / Discussions / Java
   

Java

 
GeneralRe: Any Java Book Recommend Pin
waylife12-Nov-12 22:07
waylife12-Nov-12 22:07 
AnswerRe: Any Java Book Recommend Pin
Gowtham Gutha9-Nov-12 9:02
Gowtham Gutha9-Nov-12 9:02 
GeneralRe: Any Java Book Recommend Pin
waylife12-Nov-12 22:08
waylife12-Nov-12 22:08 
GeneralRe: Any Java Book Recommend Pin
Gowtham Gutha15-Nov-12 0:22
Gowtham Gutha15-Nov-12 0:22 
GeneralRe: Any Java Book Recommend Pin
waylife15-Nov-12 3:10
waylife15-Nov-12 3:10 
GeneralRe: Any Java Book Recommend Pin
waylife14-Nov-12 0:54
waylife14-Nov-12 0:54 
AnswerRe: Any Java Book Recommend Pin
Ivan Melnikov1-Jul-13 22:38
Ivan Melnikov1-Jul-13 22:38 
QuestionHow to create/set an element of a document Pin
prithaa6-Nov-12 3:43
prithaa6-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 Pin
padmanabanproject7-Nov-12 19:58
padmanabanproject7-Nov-12 19:58 
GeneralRe: How to create/set an element of a document Pin
prithaa4-Dec-12 3:55
prithaa4-Dec-12 3:55 
Questionhow to Use Java to get the database info by Internet Protocol Pin
XMafei5-Nov-12 4:03
XMafei5-Nov-12 4:03 
AnswerRe: how to Use Java to get the database info by Internet Protocol Pin
Richard MacCutchan5-Nov-12 5:24
mveRichard MacCutchan5-Nov-12 5:24 
GeneralRe: how to Use Java to get the database info by Internet Protocol Pin
XMafei5-Nov-12 13:58
XMafei5-Nov-12 13:58 
GeneralRe: how to Use Java to get the database info by Internet Protocol Pin
Richard MacCutchan5-Nov-12 22:13
mveRichard MacCutchan5-Nov-12 22:13 
AnswerRe: how to Use Java to get the database info by Internet Protocol Pin
jschell5-Nov-12 8:33
jschell5-Nov-12 8:33 
Questionaddress book in java Pin
Shah Baba5-Nov-12 3:19
Shah Baba5-Nov-12 3:19 
AnswerRe: address book in java Pin
Richard MacCutchan5-Nov-12 3:24
mveRichard MacCutchan5-Nov-12 3:24 
Questionhi Pin
Md Abdullah Al Masud4-Nov-12 19:00
Md Abdullah Al Masud4-Nov-12 19:00 
Questionjava progarm Pin
hardikv923-Nov-12 22:45
hardikv923-Nov-12 22:45 
AnswerRe: java progarm Pin
Richard MacCutchan4-Nov-12 2:05
mveRichard MacCutchan4-Nov-12 2:05 
AnswerRe: java progarm Pin
Gowtham Gutha15-Nov-12 1:15
Gowtham Gutha15-Nov-12 1:15 
AnswerRe: java progarm Pin
Member 1111060025-Sep-14 16:52
Member 1111060025-Sep-14 16:52 
QuestionUpdating content of JtextField through jbutton in sql server 2005 using netbeans ide and jdk 1.6 Pin
Member 95656712-Nov-12 0:14
Member 95656712-Nov-12 0:14 
AnswerRe: Updating content of JtextField through jbutton in sql server 2005 using netbeans ide and jdk 1.6 Pin
Richard MacCutchan2-Nov-12 0:47
mveRichard MacCutchan2-Nov-12 0:47 
Question[JAVA] web log file Pin
mariankral1-Nov-12 1:53
mariankral1-Nov-12 1:53 

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.