Solved

radio buttons, itemStateChanged, any order?

Posted on 1998-06-21
2
360 Views
Last Modified: 2008-02-01
Have radio buttons A and B.   Any change should tickle two listeners.  One for button going active; one
for button going inactive.  Is there any order to this?   Can I be sure on A->B that either one will wake up first?

awt tyro.  Thanks in advance
0
Comment
Question by:hank1
2 Comments
 
LVL 1

Author Comment

by:hank1
Comment Utility
Edited text of question
0
 
LVL 5

Accepted Solution

by:
msmolyak earned 50 total points
Comment Utility
I do not think that the listener definition guarantees you the order. You can look at the implementation of addItemListener() and processItemEvent() methods to see what happens to the listeners and in which order they are called. Or you can override those methods to insure that they are called in the order desired.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
scoresSpecial  challenge 13 40
return in catch statement 1 40
Java passing arguments (type error) 2 33
Java and GPO 11 46
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now