Did ComboBox change in the recent JavaFX releases?

Hi there.
I use a ComboBox to display the gender of a person. Now recently we discovered a bug, and I am pretty sure it used to work in a previous version. I also updated my JDK recently to 7u13 ( JavaFX 2.2.5) and maybe some others did too.
The following use case should work (and even worked in my opinion), but doesn't anymore.
Run the code. (Gender is initialized with null)
Click the Chose Male Button.
Male is selected in the ComboBox.
Click Reset.
Click Male.
Nothing happens! I expected that Male is again selected.
Can someone comment on this issue please?
import javafx.application.Application;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.collections.FXCollections;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.layout.VBoxBuilder;
import javafx.stage.Stage;
public class TestApp2 extends Application {
    public static void main(String[] args) {
        Application.launch();
    private ObjectProperty<Gender> gender = new SimpleObjectProperty<Gender>();
    @Override
    public void start(Stage stage) throws Exception {
        ComboBox<Gender> comboBox = new ComboBox<Gender>();
        comboBox.setItems(FXCollections.observableArrayList(Gender.values()));
        comboBox.valueProperty().bindBidirectional(gender);
        Button button = new Button("Reset");
        button.setOnAction(new EventHandler<ActionEvent>() {
            @Override
            public void handle(ActionEvent actionEvent) {
                gender.set(null);
        Button buttonSetMale = new Button("Set Male");
        buttonSetMale.setOnAction(new EventHandler<ActionEvent>() {
            @Override
            public void handle(ActionEvent actionEvent) {
                gender.set(Gender.MALE);
        Scene scene = new Scene(VBoxBuilder.create().children(comboBox, button, buttonSetMale).build());
        stage.setScene(scene);
        stage.show();
    public enum Gender {
        MALE,
        FEMALE,
        UNKNOWN
}

This is a known bug and is fixed in JavaFX 8.0. You can see the bug report here:
http://javafx-jira.kenai.com/browse/RT-27654
-- Jonathan

Similar Messages

  • Today I imported quite a lot of Audio CDs. When I wanted to listen to them I realised that most of them aren't in my library. And they did not appear in the recently added list either. Can anyone tell me what happened and where to find them? Thanks!

    Today I imported quite a lot of Audio CDs. When I wanted to listen to them I realised that most of them aren't in my library. And they did not appear in the recently added list either. Can anyone tell me what happened and where to find them? It's really strange because all the imorts definitely finished. Thanks!

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • Hi my daughter did some changes in the settings,now i am getting voice support for every task i do,i am not able to access anything cause unable to toggle down to the reset option,pls help as to what to do

    hi my daughter did some changes in the setting,now i am getting voice support for every task i am doing,plus cannot toggle between the pages,unable to do the changes as not able to toggle to reset option either,pls help.

    You probably have the Voiceover accessibility feature turned on. It's difficult to navigate as you need to use specific voiceover gestures. The easirest thing to do is connect the phone to iTunes. Select the Summary pane and click the "Configure Universal Access..." button.  In  the window that opens,select "Neither" in the seeing options and click "OK".

  • After I did a change in the drumsection on a song the program just "went down". It's impossible to go back tinto the program. It just tryn to open the song, nothing happend and then out again... What can I do?

    After I did a change in the drumsection on a song the program just "went down". It's impossible to go back tinto the program. It just tryn to open the song, nothing happend and then out again... What can I do?

    see if anything in this troubleshooting article helps: http://support.apple.com/kb/HT2801?viewlocale=en_US

  • What were the changes to the recent iPhoto update?

    Anybody have the thread/website that shows what the recent UPDATE to iPhoto was?
    What were the changes?
    thanks.

    The usual place to start looking for "what was changed" in a particular new version release is the Release Notes for that version. <br />
    https://www.mozilla.org/en-US/firefox/28.0/releasenotes/
    From that page you can use the hyperlink for the [https://bugzilla.mozilla.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&f1=target_milestone&f2=cf_status_firefox28&f3=target_milestone&j_top=OR&o1=anywords&o2=anywords&o3=equals&query_format=advanced&resolution=FIXED&v1=mozilla28&v2=fixed%2Cverified&v3=Firefox%2028&order=bug_id&limit=0&list_id=9960032 complete list of changes in this release], which displays the '''RESOLVED, VERIFIED, CLOSED''' Bugs reports for that version. 3934 Bugs are listed there for the Firefox 28.0 Release version.

  • I changed my nickname in iTunes but it did not change in the forums

    Hi,
    I just changed my nickname in iTunes and it said that it changed, but when I logged into the forums, it did not change. Any ideas?
    xxmitchxx90

    No, they didn't. If someone has a different alias here, it's because they set up a new Apple ID. This issue has been covered extensively in the Using Apple Support Communities forum.
    Regards.

  • I changed my Apple ID but it did not change on the I cloud how do I reset the iCloud

    How do I change the iCloud password  I did update and change my Apple ID but it did not change the iCloud?

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, and your old ID is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I changed my password on my aol account but it did not change on the SMTP server which is preventing me from answering email.  Help

    I changed my aol password but the SMTP server password did not change so I can't send mail.  How can I change the SMTP password?

    Go into Settings > Mail, Contacts, Calendars and select the account, then tap the account on the popup that you should get, and then tap on the SMTP server name

  • New changes for the final cs6 release?

    i am testing cs6 for a while, an i am quite happy with the results.
    that said i am wondering how much is going to be changed till the final release!
    i found some small performance issues for me, so i was wondering if there would be any performance or GPU changes that probably gonna resolve the issues i found.
    or any other changes at all? what should we expect from the final release compared to the beta?
    thanks!

    The idea behind the public beta is to get users like yourself to test Photoshop CS6 in real world situations, so that the engineers can make any last minute bug fixes. Performance issues are one of their biggest focuses. They're trying to ensure that Photoshop CS6 runs smoothly with as many systems/graphic cards as possible. Of course, make sure your drivers are up to date is essential as well.
    In terms of features, what you see is most likely what you will get in the final release. The beta is mainly to smooth out the bugs/performance quirks.
    If you come across any bugs/performance issues, be sure to report them in this forum, along with a detailed report. FAQ: I found a bug. How do I write a useful bug report?

  • Lock Role for Changes till the transport is released

    Issue : since roles are managed by multiple security administrators, changes are moving against the sequence.
    We have multiple security administrators, is there a way to lock a role for changes until the task/ req is released.
    Example Scenario :
    Security admin 1 : if there is a change request to add SU01 to the role: Z_TESTROLE, Security admin adds it and creates a Change request but does not release it.
    Security Admin 2 : the security admin 2 will get a Change req for the same role Z_TESTROLE to add a tcode PFCG to it. Security admin 2 does his job and moves his transport now even though the first transport does not move the change made by the first security admin moves with the transport for the second admin.
    We have multiple security administrators, is there a way to lock a role for changes until the task/ req is released.

    Hi all,
    Thanks for your responses.we follow a change procedure but I guess its just needs to be refined. Everybody figured out that this is a coordination issue but I was asked to research on any technical ability to handle this.
    Here is a brief overview of our process :
    1) BPO approves the change
    2) Role owner support manager approves the change
    then the Change request comes to 3)Security Manager for her approval.
    I feel from Sox prespective the 3rd approval in not manadatory.
    I'm I correct ??? where can I find Sox guide for SAP ?
    Recap of the incident:
    1)A change ticket is created for the t-code creation and a task is created for the role in which this report is to be added.
    State I role Z_TESTROLE  is with ZMMR0025
    After adding the new report ZMMR0055 the old report ZMMR0025 is removed.
    State II
    The role Z_TESTROLE has tcode ZMMR0055
    now this is tested in development system by the requestor.
    Before this goes into PRD via QA a newsflash is sent to all the endusers (so that they know which t-code to use)
    Meanwhile if another security administrator works (suppose adds a new tcode or changes an authorization)  on this while the role is in state II changes made by Admin 1 are transported along with the second change.
    State II + new changes = State III
    When the role reaches PRD in state III result is the end user losses access to the required functionality ZMMR0025 before ZMMR0055 is made available.
    I hope I’m clear , please let me know if I need to be more specific on any part.
    I appreciate your help.
    regards,
    Salman.

  • I recently got a new computer. itunes recognized my iphone 4. I then changed my password, but it did not change on the phone. I did sync the phone afterwards. How do I get the phones password to change to the new password in itunes. Thank you

    I recently bought a new computer. itunes recognized my iphone 4. I then changed my username and password in itunes. I resynced my phone but, the new password did not take. How do I change them in my iphone to match itunes. Thanks

    Not Stupid! I should have been more specific. I'm still new to iphones. I changed my itunes password and ID at the itunes store my computer. I'm not having problems with my email. I'm having problems downloading and updating apps (probably music as well). After it asks for the password, a message comes up saying my itunes store password is incorrect. It works on line though. Does this help? Thanks

  • PHP include_path - Did something change in a recent security update?

    We had a scare tonight when our highly customized webmail system did not come back after the system was rebooted. I quickly discovered that the include_path for php was set to ".:" which will obviously never work. Since the server has been running for months without modification except for a few security updates this week, I was wondering if Apple changed something?
    To quickly fix the issue, I duplicated the php.ini.default file, renamed it php.ini, and modified the line that read:
    ;include_path = ".:/php/includes"
    so that it now reads
    include_path = ".:/usr/lib/php" (note that this line is no longer commented out)
    I then restarted apache with this command:
    sudo apachectl graceful restart
    and everything started to work again without any issues at all.
    I did some searching and found this recent thread http://discussions.apple.com/thread.jspa?messageID=3668413&#3668413 that basically lists the same issue with 10.3.9. Is this a bug or is it intentional?
      Mac OS X (10.4.4)  

    Some games lately can push graphic cards further and harder.
    Check PC graphic/game forums to see if you can find a relationship.
    No way in Mac OS to regulate or control gpu fan, monitor temp (?) or other things all taken for granted on PC and Windows.
    SmcFanControl 2.2.x - at least you can boost 3 of the system fans and change the default and set profiles for work loads. Try a "game profile" of 1500 rpm.
    If - and I assume the 8800GT is probably starting to stress and strain and slow death - it would happen in Windows also, if you have it installed.
    8800GT: people blamed 10.6 and other updates as if it caused their card to fail. Unlikely though maybe with a card that was marginal or had trouble to begin with.
    There weren't nvidia drivers in security update, but were in 10.6.4; in SL Graphics Update 1.0; and there is/was Mac OS X CUDA 3.x patch/update also you should be using. There were updates for GTX 285 that should have included the 8800GT as well probably.
    When you system crashes, or before there is a software update, by all means ---
    CLONE YOUR SYSTEM / RUN DISK WARRIOR (don't rely on just Apple DU First Aid)
    Easy to blame an update for a pre-existing issue that was present.
    And always have a backup you can boot from of older version of OS X (even 10.6.3).
    Some people have gone back to 10.6.0 and then only up to 10.6.3.
    Try a clean system install on a newly zeroed hard drive and test everything.
    Wait for new graphic drivers.
    Plan on ATI 5870 or 5770.
    GTX 285 vs GT120 / 4870 / 8800 / 3870
    http://www.barefeats.com/nehal14.html 3D and Core Image
    Radeon HD 5870 + 5770 2006 Mac Pro versus older GPUs
    http://www.barefeats.com/wst10g5.html
    5870 + 5770 versus older GPUs
    http://www.barefeats.com/wst10g6.html

  • When i changed the names of my books in iTunes, it did not changed in the iPad after i had synced it again with the changes. can anyone help? i had added authors to the author column and deleted their names from the book titles.

    i had added books to iBooks on iTunes and synced with my iPad mini. Then I realised that the titles sometimes had the author name, or a random number before it. I made changes to all the books in my iTunes library, edited the titles, added authors to the author columns, year in year column etc and synced my iPad again. but my iPad did not update these changes at all is still in the old way. can this be rectified?

    Have you tried closing the iTunes store app via the multitasking bar and seeing if it works when you re-open it
    Have you tried closing the app via the taskbar ? (I assume that your iPad is on iOS 6, though the version that your tagline shows, 6.1.6, is not a version for iPads) From the home screen (i.e. not with iTunes store app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the iTunes app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't fix it then you could try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Hey when did they change (shrink) the item description??

    When I happened to go into one of my lots this morning, I noticed that the description is now shrunk!! It says: Item description (and underneath that) One seemingly random line from the actual description (and underneath that) A link: See full item description This takes the buyer even farther from ever reading what is actually in the description. Depending on what random? line it pulls from the description text it can also be confusing to the buyer.  It is a good thing that I've naturally been reducing the amount of stuff in the description text (this view is much like what it is in cell phone viewing land anyway) but it is a somewhat significant change to just discover one day.....

    eBay has been running tests on listings to make the listing like their mobile apps that have the click to see the description. These tests have been running for close to a year and much complaining in the USA forums about this test causing lost sales. Now in recent days apparently, this hiding of the description has been affecting more sellers/buyers. Someone posted a solution to this problem in the past 2-3 days in the eBay.com forums. The poster got it from Customer Support when they called. Apparently if you clear your browser cookies it goes back to full description with no button. Be sure to not be logged into eBay or PayPal when you do this. You can use this shortcut to clear browser cookies.  CTRL-SHIFT-DELETE  Then check off cookies only and delete. I had the click button in my description yesterday when I revised a listing. Never had it before. I had just read the above fix and had viewed an eBay listing with the button in the description so I am speculating that viewing a listing "infects" you with this cookie and the click button appears. I cleared cookies and the click button was gone in my revised listing. I think this is a new eBay glitch with this cookie that just started in the past few days.  However, I always clear my browser cookies and cache and temp files after browser sessions so I may have had this and not known. Post back if this fixes your problem.

  • New changes in the recent update....

    I just updated my LG Ally and discovered that some changes were implemented by Verizon.
    One being that the little weather/time window has vanished - replaced with a Google search bar. Really, no need for it there and I pushed it over to another pane, (with great difficulty.) I widgeded a weather one from  the selection library, but it's a drab grey...with no options in personalizations.
    Also...
    There is now a 3G mobile Hotspot app.
    Cool, but slow.
    It would have been nice for Verizon to let us know what changes were coming.
    Sometimes change is good...and other times it's not.
    Joe

    The information about the update is on the phone's support page.
    http://support.vzw.com/system_update/lg_ally.html

Maybe you are looking for

  • Error while opening a new project

    Hello,      Our team has been working on RoboHelp 7 for some time now. I recently joined the team and they had asked me to work on RoboHelp 8 and give them a presentation on the same. I downloaded a trail version of RoboHelp 8 and installed it. Probl

  • Displaying error message while entering selection screen fields

    Moderator message: don't offer points hi experts... i generated a report. in that report, the selection screen fields are plant and material type.. now my rqmt  is like this : if user enters any plant except '8210' in  the selection screen, then a po

  • Ios 7.1.1 update!!

    I updated my iPhone 4s to IOS 7.1.1 at work and now I cannot turn my phone on unless it is connected to iTunes....but I can't!! Is there any way I can get access to my phone please?? I always do the updates with everything automatically backed up to

  • [SOLVED] Graphic Corruption with 3D and Wine 1.3.8 + Catalyst 10.11

    Hello! I'm getting graphic corruption with 3D games on my Arch Linux configuration using Wine and Catalyst. Tried World of Warcraft (also with opengl rendering) and Guild Wars - graphics look stretched and teared. Using ATI Mobility Radeon HD4570. An

  • Cursor in a procedure

    hi friends, i m doubtful if i do something like this in an stored proc OPEN DETAIL_CURSOR FOR SELECT     T.SYSTEM,T.COMPONENT,T.ITEM,T.MODULE FROM CALL_DETAILS_TEMP1 T, CALL_DETAILS_SLAVE C      WHERE     T.PROBLEM_ID = C.USER_DEFINED AND C.CALL_CATE