Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8729805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:53:50+00:00 2026-06-13T08:53:50+00:00

In a JavaFX application, I have two textboxes and three choicebox on a screen.

  • 0

In a JavaFX application, I have two textboxes and three choicebox on a screen.
They are all placed in vertical manner.

On navigating by keyboard TAB when focus reaches fist choicebox,if i click on keyboard Down arrow, then instead of opening the items for that choicebox, focus moves to next choicebox and displays items from it.

I tried to manually override this by creating a keypress event method on first choicebox, still the focus, moves to next choicebox.

Any solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T08:53:50+00:00Added an answer on June 13, 2026 at 8:53 am

    Put event filter in the parent component that contains those controls.

    /**
    * prevent move focus on pressing UP/DOWN
    */
    pnlRadioButton.addEventFilter(KeyEvent.KEY_PRESSED, new EventHandler<KeyEvent>() {
        @Override
        public void handle(KeyEvent event) {
            if (event.getCode() == KeyCode.UP || event.getCode() == KeyCode.DOWN) {
                event.consume();
            }
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JavaFX 2.0 application, which consists of two FXML files, and two
I have this easy little form in my JavaFX application. I want to use
I have just explore javaFX. I am now programming modul based application by netBeans
I have JavaFX application using FXML to build its GUI. When this application is
I have a web application on tomcat. The application needs two SAXParserFactory implements: one
I have a java we application that is working with velocity. I get two
I want to make an application in JavaFX-2 based on two pages as main
I have a JavaFx 2.0 desktop application that I intend to run via the
In my Java Desktop Application I have a JavaFX Table with 3 columns. I
We have developed an application which work on two persistence units. The application retrieves

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.