Click here to Skip to main content
12,069,894 members (54,934 online)
   

Java

 
AnswerRe: FIX Day Changed Problem Pin
TorstenH.8-Oct-12 23:00
memberTorstenH.8-Oct-12 23:00 
AnswerRe: FIX Day Changed Problem Pin
Nagy Vilmos11-Oct-12 21:12
memberNagy Vilmos11-Oct-12 21:12 
QuestionThreads in details Pin
CsTreval6-Oct-12 1:16
memberCsTreval6-Oct-12 1:16 
AnswerRe: Threads in details Pin
Nagy Vilmos8-Oct-12 1:54
memberNagy Vilmos8-Oct-12 1:54 
Questionjava applet security issues Pin
Ponnampi5-Oct-12 19:01
memberPonnampi5-Oct-12 19:01 
AnswerRe: java applet security issues Pin
Ponnampi5-Oct-12 19:12
memberPonnampi5-Oct-12 19:12 
QuestionData Structures - ArrayDeque <T> extends AbstractList <T> Pin
Member 94884535-Oct-12 17:29
memberMember 94884535-Oct-12 17:29 
AnswerRe: Data Structures - ArrayDeque extends AbstractList Pin
TorstenH.5-Oct-12 22:36
memberTorstenH.5-Oct-12 22:36 
QuestionCreating a class that extends more than one class. Pin
Bill.Moo4-Oct-12 3:43
memberBill.Moo4-Oct-12 3:43 
AnswerRe: Creating a class that extends more than one class. Pin
Nagy Vilmos4-Oct-12 4:00
memberNagy Vilmos4-Oct-12 4:00 
GeneralRe: Creating a class that extends more than one class. Pin
Bill.Moo4-Oct-12 4:48
memberBill.Moo4-Oct-12 4:48 
AnswerRe: Creating a class that extends more than one class. Pin
Peter_in_27804-Oct-12 4:03
memberPeter_in_27804-Oct-12 4:03 
GeneralRe: Creating a class that extends more than one class. Pin
Bill.Moo4-Oct-12 4:59
memberBill.Moo4-Oct-12 4:59 
GeneralRe: Creating a class that extends more than one class. Pin
Peter_in_27804-Oct-12 12:36
memberPeter_in_27804-Oct-12 12:36 
Blush | :O That's what I get for trying to make sense at midnight. I use "Java in a Nutshell, 5th ed". Observable/Observer are since Java 1.0 and the comment is "The Observable class and Observer interface are not commonly used. Most applications prefer the event-based notification model defined by the JavaBeans componenent framework and by the EventObject class and EventListener interface of this package. [java.util]" So I misread preference as superceding... I do remember the Event model being introduced (in Java 1.1) in response to a perceived hole in functionality.
Looks like you want to make your UI implement EventListener and have the worker thread spit out (your subclass of) EventObjects as required.
I'm sure there are plenty of examples floating around the web. (Java's like that Smile | :) ) I'd start with Mr G and something like "Java EventObject".

Good hunting,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

AnswerRe: Creating a class that extends more than one class. Pin
pasztorpisti4-Oct-12 13:14
memberpasztorpisti4-Oct-12 13:14 
QuestionRe: Creating a class that extends more than one class. Pin
Monster Maker21-Oct-12 22:08
memberMonster Maker21-Oct-12 22:08 
AnswerRe: Creating a class that extends more than one class. Pin
Gowtham Gutha15-Nov-12 7:59
memberGowtham Gutha15-Nov-12 7:59 
QuestionThread names Pin
CsTreval4-Oct-12 2:19
memberCsTreval4-Oct-12 2:19 
AnswerRe: Thread names Pin
Nagy Vilmos4-Oct-12 3:54
memberNagy Vilmos4-Oct-12 3:54 
AnswerRe: Thread names Pin
Gowtham Gutha15-Nov-12 8:11
memberGowtham Gutha15-Nov-12 8:11 
Questionget ethernet IP address Pin
hari3013-Oct-12 20:30
memberhari3013-Oct-12 20:30 
AnswerRe: get ethernet IP address Pin
TorstenH.3-Oct-12 20:58
memberTorstenH.3-Oct-12 20:58 
AnswerRe: get ethernet IP address Pin
jschell4-Oct-12 12:44
memberjschell4-Oct-12 12:44 
QuestionJava Based Websevice Pin
ashish121693-Oct-12 2:55
groupashish121693-Oct-12 2:55 
AnswerRe: Java Based Websevice Pin
Richard MacCutchan3-Oct-12 3:34
mvpRichard MacCutchan3-Oct-12 3:34 
AnswerRe: Java Based Websevice Pin
TorstenH.3-Oct-12 3:36
memberTorstenH.3-Oct-12 3:36 
QuestionHow can I change a 8-bit bitmap into a 4-bit/1-bit bitmap? Pin
Kangvampire2-Oct-12 23:11
memberKangvampire2-Oct-12 23:11 
QuestionCreating a Thread Pin
CsTreval2-Oct-12 9:17
memberCsTreval2-Oct-12 9:17 
AnswerRe: Creating a Thread Pin
jschell2-Oct-12 9:46
memberjschell2-Oct-12 9:46 
AnswerRe: Creating a Thread Pin
Richard MacCutchan2-Oct-12 10:32
mvpRichard MacCutchan2-Oct-12 10:32 
GeneralRe: Creating a Thread Pin
CsTreval2-Oct-12 21:53
memberCsTreval2-Oct-12 21:53 
GeneralRe: Creating a Thread Pin
TorstenH.3-Oct-12 0:31
memberTorstenH.3-Oct-12 0:31 
AnswerRe: Creating a Thread Pin
Peter_in_27802-Oct-12 23:05
memberPeter_in_27802-Oct-12 23:05 
AnswerRe: Creating a Thread Pin
Gowtham Gutha15-Nov-12 8:15
memberGowtham Gutha15-Nov-12 8:15 
Questionpure java based code needed to read shedule and send an sms Pin
ask.sagaram2-Oct-12 8:08
memberask.sagaram2-Oct-12 8:08 
AnswerRe: pure java based code needed to read shedule and send an sms Pin
jschell2-Oct-12 9:50
memberjschell2-Oct-12 9:50 
GeneralRe: pure java based code needed to read shedule and send an sms Pin
ask.sagaram3-Oct-12 8:53
memberask.sagaram3-Oct-12 8:53 
QuestionAWT Native interface Pin
AhmdAxf1-Oct-12 3:43
memberAhmdAxf1-Oct-12 3:43 
QuestionHardware Pin
stib_markc28-Sep-12 19:58
memberstib_markc28-Sep-12 19:58 
AnswerRe: Hardware Pin
Richard MacCutchan28-Sep-12 23:15
mvpRichard MacCutchan28-Sep-12 23:15 
GeneralRe: Hardware Pin
stib_markc30-Sep-12 20:37
memberstib_markc30-Sep-12 20:37 
GeneralRe: Hardware Pin
Richard MacCutchan30-Sep-12 23:07
mvpRichard MacCutchan30-Sep-12 23:07 
AnswerRe: Hardware Pin
Joan Murt29-Sep-12 0:57
memberJoan Murt29-Sep-12 0:57 
GeneralRe: Hardware Pin
stib_markc30-Sep-12 20:39
memberstib_markc30-Sep-12 20:39 
AnswerRe: Hardware Pin
TorstenH.29-Sep-12 3:18
memberTorstenH.29-Sep-12 3:18 
AnswerRe: Hardware Pin
pasztorpisti30-Sep-12 1:16
memberpasztorpisti30-Sep-12 1:16 
GeneralRe: Hardware Pin
stib_markc30-Sep-12 20:49
memberstib_markc30-Sep-12 20:49 
GeneralRe: Hardware Pin
pasztorpisti1-Oct-12 0:04
memberpasztorpisti1-Oct-12 0:04 
Questionsoduku Pin
Member 946247626-Sep-12 12:40
memberMember 946247626-Sep-12 12:40 
AnswerRe: soduku Pin
Member 87505371-Oct-12 8:23
memberMember 87505371-Oct-12 8:23 

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.


Advertise | Privacy | Mobile
Web03 | 2.8.160208.1 | Last Updated 3 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid