Click here to Skip to main content
15,860,859 members
Home / Discussions / Java
   

Java

 
AnswerRe: java applet security issues Pin
Ponnampi5-Oct-12 18:12
Ponnampi5-Oct-12 18:12 
QuestionData Structures - ArrayDeque <T> extends AbstractList <T> Pin
Member 94884535-Oct-12 16:29
Member 94884535-Oct-12 16:29 
AnswerRe: Data Structures - ArrayDeque extends AbstractList Pin
TorstenH.5-Oct-12 21:36
TorstenH.5-Oct-12 21:36 
QuestionCreating a class that extends more than one class. Pin
Bill.Moo4-Oct-12 2:43
Bill.Moo4-Oct-12 2:43 
AnswerRe: Creating a class that extends more than one class. Pin
Nagy Vilmos4-Oct-12 3:00
professionalNagy Vilmos4-Oct-12 3:00 
GeneralRe: Creating a class that extends more than one class. Pin
Bill.Moo4-Oct-12 3:48
Bill.Moo4-Oct-12 3:48 
AnswerRe: Creating a class that extends more than one class. Pin
Peter_in_27804-Oct-12 3:03
professionalPeter_in_27804-Oct-12 3:03 
GeneralRe: Creating a class that extends more than one class. Pin
Bill.Moo4-Oct-12 3:59
Bill.Moo4-Oct-12 3:59 
Where do you read this? I got the Observable/Observer from the "Java - The complete reference 8th Ed. Ch 18, p541" and there is no reference to it being obsolete or as a candidate for it either.

What I want to do is create a class that extends AbstractAction and implements runnable. The actionPerformed will display a file open dialog allowing the user to select N files, these files are then stored in a File[] and the thread started when the dialog is closed to process the files. But I wanted the observable so I could 'emit' messages to the Observer (my UI) so I could say "Processing filename.ext..." as the processing can take a bit of time, hence the use of the thread and 'status message'. But of course if there is a better way of doing this then I'm all for learning.

The Events / Actions sounds sensible, are you able to give me a
link to something?
--
Bill

GeneralRe: Creating a class that extends more than one class. Pin
Peter_in_27804-Oct-12 11:36
professionalPeter_in_27804-Oct-12 11:36 
AnswerRe: Creating a class that extends more than one class. Pin
pasztorpisti4-Oct-12 12:14
pasztorpisti4-Oct-12 12:14 
QuestionRe: Creating a class that extends more than one class. Pin
Monster Maker21-Oct-12 21:08
Monster Maker21-Oct-12 21:08 
AnswerRe: Creating a class that extends more than one class. Pin
Gowtham Gutha15-Nov-12 6:59
Gowtham Gutha15-Nov-12 6:59 
QuestionThread names Pin
Neo101014-Oct-12 1:19
Neo101014-Oct-12 1:19 
AnswerRe: Thread names Pin
Nagy Vilmos4-Oct-12 2:54
professionalNagy Vilmos4-Oct-12 2:54 
AnswerRe: Thread names Pin
Gowtham Gutha15-Nov-12 7:11
Gowtham Gutha15-Nov-12 7:11 
Questionget ethernet IP address Pin
hari3013-Oct-12 19:30
hari3013-Oct-12 19:30 
AnswerRe: get ethernet IP address Pin
TorstenH.3-Oct-12 19:58
TorstenH.3-Oct-12 19:58 
AnswerRe: get ethernet IP address Pin
jschell4-Oct-12 11:44
jschell4-Oct-12 11:44 
QuestionJava Based Websevice Pin
ashish121693-Oct-12 1:55
ashish121693-Oct-12 1:55 
AnswerRe: Java Based Websevice Pin
Richard MacCutchan3-Oct-12 2:34
mveRichard MacCutchan3-Oct-12 2:34 
AnswerRe: Java Based Websevice Pin
TorstenH.3-Oct-12 2:36
TorstenH.3-Oct-12 2:36 
QuestionHow can I change a 8-bit bitmap into a 4-bit/1-bit bitmap? Pin
Kangvampire2-Oct-12 22:11
Kangvampire2-Oct-12 22:11 
QuestionCreating a Thread Pin
Neo101012-Oct-12 8:17
Neo101012-Oct-12 8:17 
AnswerRe: Creating a Thread Pin
jschell2-Oct-12 8:46
jschell2-Oct-12 8:46 
AnswerRe: Creating a Thread Pin
Richard MacCutchan2-Oct-12 9:32
mveRichard MacCutchan2-Oct-12 9:32 

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.