I'm new here and posting here because I found no solution to my problem so far and I think it might be a bad bug in JavaFX 2.0. I'm using a TabPane in my JavaFX-Application and many tabs should be disabled from the start of the app. Later when the user has changed specific settings the tabs should be enabled one at a time. I disabled the tabs at the start of the app with the disabled-property. This works all good. However at the moment I type the "left"- or "right"-key on the keyboard I can visit the disabled tabs and they are getting enabled one at a time. I really don't know why oracle has thought this would be a good idea, but currently it gives me headaches. I hope you guys know an elegant way to disable this annoying keyboard-control of the tabpane.
Can you post the relevant snippet of the code where you have disabled them and also can you post the screenshot of the tabs when they get enabled when you use the arrow keys to navigate?