Click here to Skip to main content
15,910,009 members
Home / Discussions / Java
   

Java

 
GeneralRe: How to write a Timer program in java Pin
Richard MacCutchan15-Dec-11 22:32
mveRichard MacCutchan15-Dec-11 22:32 
GeneralRe: How to write a Timer program in java Pin
Nagy Vilmos16-Dec-11 2:00
professionalNagy Vilmos16-Dec-11 2:00 
GeneralRe: How to write a Timer program in java Pin
Richard MacCutchan16-Dec-11 2:30
mveRichard MacCutchan16-Dec-11 2:30 
AnswerRe: How to write a Timer program in java Pin
David Skelly15-Dec-11 22:21
David Skelly15-Dec-11 22:21 
GeneralRe: How to write a Timer program in java Pin
VickyVicki16-Dec-11 1:33
VickyVicki16-Dec-11 1:33 
GeneralRe: How to write a Timer program in java Pin
Nagy Vilmos16-Dec-11 1:56
professionalNagy Vilmos16-Dec-11 1:56 
QuestionTech Mentro-Java Training in India Pin
Tech Mentro14-Dec-11 21:56
Tech Mentro14-Dec-11 21:56 
QuestionDoc extends PlainDocument problem Pin
prithaa13-Dec-11 3:05
prithaa13-Dec-11 3:05 
Hello


I am using the following code to use createLeafElement from PlainDocument

public class Doc extends PlainDocument {

private static final long serialVersionUID = 1L;

protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1)
{
return createLeafElement(parent, a, p0, p1);
}
}


The above class without the createLeafElement() method works fine .But if I add this method I get runtime error saying program not responding.

My purpose is to use createLeafElement() method.How can I use it?

Thanks
Prithaa
AnswerRe: Doc extends PlainDocument problem Pin
Nagy Vilmos13-Dec-11 3:47
professionalNagy Vilmos13-Dec-11 3:47 
GeneralRe: Doc extends PlainDocument problem Pin
prithaa13-Dec-11 4:18
prithaa13-Dec-11 4:18 
GeneralRe: Doc extends PlainDocument problem Pin
Nagy Vilmos13-Dec-11 4:26
professionalNagy Vilmos13-Dec-11 4:26 
GeneralRe: Doc extends PlainDocument problem Pin
prithaa13-Dec-11 4:33
prithaa13-Dec-11 4:33 
GeneralRe: Doc extends PlainDocument problem Pin
Nagy Vilmos13-Dec-11 4:38
professionalNagy Vilmos13-Dec-11 4:38 
GeneralRe: Doc extends PlainDocument problem Pin
prithaa13-Dec-11 4:40
prithaa13-Dec-11 4:40 
QuestionDistributed Anti-Spam System Pin
PalleStol11-Dec-11 22:42
PalleStol11-Dec-11 22:42 
AnswerRe: Distributed Anti-Spam System Pin
TorstenH.12-Dec-11 3:21
TorstenH.12-Dec-11 3:21 
QuestionCompress and decompress string between java and c# Pin
Hossein Khalaj8-Dec-11 5:58
Hossein Khalaj8-Dec-11 5:58 
AnswerRe: Compress and decompress string between java and c# Pin
TorstenH.8-Dec-11 22:18
TorstenH.8-Dec-11 22:18 
AnswerRe: Compress and decompress string between java and c# Pin
jschell9-Dec-11 11:31
jschell9-Dec-11 11:31 
QuestionHow to use Tomcat instead of GlassFish with NetBeans? Pin
Jun Du6-Dec-11 9:22
Jun Du6-Dec-11 9:22 
AnswerRe: How to use Tomcat instead of GlassFish with NetBeans? Pin
Gerben Jongerius6-Dec-11 20:18
Gerben Jongerius6-Dec-11 20:18 
AnswerRe: How to use Tomcat instead of GlassFish with NetBeans? Pin
Skynet_Code6-Dec-11 21:02
Skynet_Code6-Dec-11 21:02 
QuestionUsing Javascript to list local directory contents Pin
Member 84548753-Dec-11 19:17
Member 84548753-Dec-11 19:17 
AnswerRe: Using Javascript to list local directory contents Pin
Richard MacCutchan3-Dec-11 21:30
mveRichard MacCutchan3-Dec-11 21:30 
AnswerRe: Using Javascript to list local directory contents Pin
TorstenH.4-Dec-11 23:55
TorstenH.4-Dec-11 23:55 

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.