JavaFX8: Application in fullscreen mode doesn't show focus on elements -
I have the following problem: I want to see that when I enter my multiscreen application in fullscreen mode, the textfield Or button focus. But for some reason, this is not showing a "white glow" around a text field for example, this is not a big problem, while it works the way I want (focusfocus ()).
But now it gets annoying when I want to use AutoComplete completion from ControlsFX () because the list is not shown in full screen mode.
I will clarify the situation with them. Screenshots:
This is now in fullscreen mode: How should this (and how it is in non-fullscreen): Be clear: the problem only Autocomplete does not exist with the same textfield, but element with each FXML If I use fullscreen mode from OSX, then it works correctly (it returns an error on the background). But I want to start the application in full screen mode. This is my main java code: As you can see, I am using a screen controller, which That's basically with all the screens in the stackpane. I hope the question is clear for all of you. Any help is greatly appreciated! < / Div> I found that this is an error in Java JDK 8u25. I've now updated Java JDK 8u40, and this problem Besides, I have tested the fullscreen focus on windows and linux, and works there too, so if your Update your JDK is a problem, then.
Expands in public class main {// Get the example of a screen controver octocase .GUI_Screens.ScreensController Main Container = octocash .GUI_Screens.ScreensController.getInstance (); // configuration example configuration receive initApp = Configuration.getInstance (); // Create an object of tasks to establish a database connection Public Stable Functions databaseConnection = new functions (); // Create a stage object to keep the primary stage public stable Stage Elementary Stage; @ Override throws an exception to the public void star (stage stage) {primaryStage = stage; // Set the Primary Phase Database connection.DB_Connect (); // Install the database connection // Load the initial screen (lock screen) mainContainer.loadScreen (configuration. Lock screen, configuration. Lock screenfile); MainContainer.setScreen (Configuration.lockScreen); Group root = new group (); // Create a group to keep all other screen root.get Shieldan (). AddAll (mainContainer); // Group Scenes Scenes = Add screen controller screen to all screens in new view (route); // set the group stage stage.getIcons (). Add (new image ("file: src / octocash / images / octo_cash_logo.png")); // Add a menubar icon stage .Cetital ("Octokash Development"); // Set the window name step .Setseten (view); // Set scene stage.setFullScreen (true); // Full screen (no program menu bar) without limits: setFullScreenExitHint (""); // "Press ESC to exit the full screen" Do not show "//stage.setFullScreenExitKeyCombination(KeyCombination.NO_MATCH); // Do not turn on any other method to make the program out on stage. Show (); // Show application} / ** * @complete command line argument * / public static zero main (string [] args) {launch (args); // start application}}
Comments
Post a Comment