Click here to Skip to main content
15,899,313 members
Home / Discussions / Java
   

Java

 
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 
AnswerRe: Doc extends PlainDocument problem Pin
Nagy Vilmos13-Dec-11 3:47
professionalNagy Vilmos13-Dec-11 3:47 
0. Wrap code in <pre> tags please.
1. What is the exact exception? Try using copy/paste.
2. The method wont work try calling the super implementation:
Java
public class Doc extends PlainDocument {	

    private static final long serialVersionUID = 1L;	

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


3. Finally, why override if you are not changing anything?


Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

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 
GeneralSteganography in Images and Audio Pin
khanhhungict3-Dec-11 18:35
khanhhungict3-Dec-11 18:35 

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.