java - JavaFX in jdk 1.8.0-91 get green and half GUI in 16-bit color Windows 7 x64 -


javafx in jdk 1.8.0-91 green , half gui in 16-bit color windows 7 x64

when login host windows remote desktop, color limited 16-bit , javafx functions unexpected.

i write simple example websites, follows:

import javafx.application.application;   import javafx.fxml.fxmlloader;   import javafx.scene.parent;   import javafx.scene.scene;   import javafx.stage.stage; public class fxmlexample extends application{         @override       public void start(stage stage) throws exception {           parent root = fxmlloader.load(getclass().getresource("fxmldocument.fxml"));                    scene scene = new scene(root, 300, 275);           stage.settitle("fxml welcome");           stage.setscene(scene);           stage.show();         }         public static void main(string[] args) {           launch(args);       }         } 

the fxml:

<?xml version="1.0" encoding="utf-8"?> <?language javascript?> <?import java.net.*?> <?import javafx.geometry.*?> <?import javafx.scene.control.*?> <?import javafx.scene.layout.*?> <?import javafx.scene.text.*?>  <gridpane xmlns:fx="http://javafx.com/fxml" alignment="center" hgap="10" vgap="10">                 <padding>               <insets top="25" right="25" bottom="10" left="25" />           </padding>       <text id="welcome-text" text="welcome" gridpane.columnindex="0"               gridpane.rowindex="0" gridpane.columnspan="2" />            <label text="user name:" gridpane.columnindex="0"               gridpane.rowindex="1" />            <textfield gridpane.columnindex="1" gridpane.rowindex="1" />            <label text="password:" gridpane.columnindex="0"               gridpane.rowindex="2" />            <passwordfield gridpane.columnindex="1"               gridpane.rowindex="2" />            <hbox spacing="10" alignment="bottom_right" gridpane.columnindex="1"               gridpane.rowindex="4">               <button text="sign in"/>           </hbox>            <text fx:id="actiontarget" gridpane.columnindex="0"               gridpane.columnspan="2" gridpane.halignment="right" gridpane.rowindex="6" />        </gridpane>  

the displayed gui looks like: green masked , half compressed javafx in 16-bit color seems gui masked green glass, , compressed left part. , in application, button can clicked in original position.

jdk version 1.8.0_91-b14

javafx version 8.0.91-b14

what happened simple example in 16-bit color windows? how can remove limitation of 16-bit color remote desktop connection.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -