Click here to Skip to main content
15,795,318 members
Home / Discussions / Java
   

Java

 
GeneralRe: cannot resolve Pin
MallardsReach31-Mar-20 0:22
MallardsReach31-Mar-20 0:22 
QuestionRadio Button Selected Pin
MallardsReach25-Mar-20 10:50
MallardsReach25-Mar-20 10:50 
QuestionRe: Radio Button Selected Pin
ZurdoDev25-Mar-20 11:10
professionalZurdoDev25-Mar-20 11:10 
AnswerRe: Radio Button Selected Pin
MallardsReach25-Mar-20 11:33
MallardsReach25-Mar-20 11:33 
QuestionRe: Radio Button Selected Pin
ZurdoDev25-Mar-20 11:39
professionalZurdoDev25-Mar-20 11:39 
AnswerRe: Radio Button Selected Pin
MallardsReach25-Mar-20 12:11
MallardsReach25-Mar-20 12:11 
QuestionRe: Radio Button Selected Pin
ZurdoDev25-Mar-20 13:19
professionalZurdoDev25-Mar-20 13:19 
AnswerRe: Radio Button Selected Pin
Richard MacCutchan26-Mar-20 1:16
mveRichard MacCutchan26-Mar-20 1:16 
That is not the way to do it I am afraid. Visual components use event handlers which are signalled when the events (e.g. pushing a button) occurs. So you need to use the Button (Java Platform SE 7 ) addActionListener[^] method so your code gets called at the relevant time.

I would again strongly suggest you go to The Java™ Tutorials[^] and work through them a few times. Trying to learn a language and framework by posting questions here (or any other forum) will take you much longer to get to where you want.
GeneralRe: Radio Button Selected Pin
MallardsReach26-Mar-20 1:28
MallardsReach26-Mar-20 1:28 
GeneralRe: Radio Button Selected Pin
Richard MacCutchan26-Mar-20 1:36
mveRichard MacCutchan26-Mar-20 1:36 
GeneralRe: Radio Button Selected Pin
MallardsReach26-Mar-20 3:55
MallardsReach26-Mar-20 3:55 
GeneralRe: Radio Button Selected Pin
MallardsReach26-Mar-20 5:15
MallardsReach26-Mar-20 5:15 
QuestionUser defined Method Pin
MallardsReach24-Mar-20 3:56
MallardsReach24-Mar-20 3:56 
AnswerRe: User defined Method Pin
Richard MacCutchan24-Mar-20 5:18
mveRichard MacCutchan24-Mar-20 5:18 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 8:39
MallardsReach24-Mar-20 8:39 
GeneralRe: User defined Method Pin
Richard MacCutchan24-Mar-20 8:44
mveRichard MacCutchan24-Mar-20 8:44 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 9:29
MallardsReach24-Mar-20 9:29 
GeneralRe: User defined Method Pin
Richard MacCutchan24-Mar-20 11:16
mveRichard MacCutchan24-Mar-20 11:16 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 23:17
MallardsReach24-Mar-20 23:17 
QuestionJTextArea Pin
MallardsReach23-Mar-20 1:48
MallardsReach23-Mar-20 1:48 
AnswerRe: JTextArea Pin
Richard MacCutchan23-Mar-20 1:54
mveRichard MacCutchan23-Mar-20 1:54 
QuestionCalling a Method at run time Pin
MallardsReach21-Mar-20 23:32
MallardsReach21-Mar-20 23:32 
AnswerRe: Calling a Method at run time Pin
Richard MacCutchan22-Mar-20 0:29
mveRichard MacCutchan22-Mar-20 0:29 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 1:38
MallardsReach22-Mar-20 1:38 
GeneralRe: Calling a Method at run time Pin
Richard MacCutchan22-Mar-20 1:48
mveRichard MacCutchan22-Mar-20 1:48 

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.