Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
JAVA-itemStateChanged executing????
Name: Jason Humphries Date: October 3, 2002 at 16:31:25 Pacific OS: Windows XP Pro CPU/Ram: 331/192
Comment:
Whenever is use a JComboBox with itemStateChanged and use it to simply open a JOptionPane or JFrame displaying the String of the item selected, it always executes the code twice and displays the extra window twice. can anybody please help me out?
Name: tod Date: October 10, 2002 at 06:43:17 Pacific
Reply:
it's a common problem. whne the combo box is initialising the status change event is fired once. then again when an action is made on the combo box i.e a selection.
if you create the combo, add a listener then populate the combo with data. you will generate the change event.
without seeing your code the only other thing is to insure initialisation is done in an order that will not generate the event.
Summary: Hi, I have some java applications that I would like to be run on PC's without the JRE. Is it possible to convert .class files into executables, or do they need the JRE/java.exe? Thank you. ...
Summary: I am currently coding Java in Websphere, using Struts. There is a procedure that I am executing that returns a number value, 0 or 1. Well, I cannot figure out how to retrieve this return value in ja...