FULL PRODUCT VERSION :
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) Client VM (build 25.73-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.3.9600]
EXTRA RELEVANT SYSTEM CONFIGURATION :
nothing relevant
A DESCRIPTION OF THE PROBLEM :
I have included a css on my scene with the following css style
"""
.button {
-fx-border-style:dotted;
}
"""
If I convert the css to binary css with
"%JAVA_HOME%\bin\javapackager" -createbss -srcfiles style.css -outdir .
the button has a solid border style instead the dotted one.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Create project with my source code.
2) Try it with a real css file
3) convert it to binary css
4) try again
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
the border style is changing from dotted to solid after converting to binary css
ERROR MESSAGES/STACK TRACES THAT OCCUR :
no error messages
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package sample;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception{
AnchorPane root = new AnchorPane();
root.getChildren().add(new Button("Example"));
Scene scene = new Scene(root, 300, 275);
scene.getStylesheets().add("style.css");
primaryStage.setTitle("Hello World");
primaryStage.setScene(scene);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
with css
.button {
-fx-border-style:dotted;
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
border-style "-fx-border-style: segments(1, 1, 1, 1);" is similar to dotted and is working
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) Client VM (build 25.73-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.3.9600]
EXTRA RELEVANT SYSTEM CONFIGURATION :
nothing relevant
A DESCRIPTION OF THE PROBLEM :
I have included a css on my scene with the following css style
"""
.button {
-fx-border-style:dotted;
}
"""
If I convert the css to binary css with
"%JAVA_HOME%\bin\javapackager" -createbss -srcfiles style.css -outdir .
the button has a solid border style instead the dotted one.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Create project with my source code.
2) Try it with a real css file
3) convert it to binary css
4) try again
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
the border style is changing from dotted to solid after converting to binary css
ERROR MESSAGES/STACK TRACES THAT OCCUR :
no error messages
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package sample;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception{
AnchorPane root = new AnchorPane();
root.getChildren().add(new Button("Example"));
Scene scene = new Scene(root, 300, 275);
scene.getStylesheets().add("style.css");
primaryStage.setTitle("Hello World");
primaryStage.setScene(scene);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
with css
.button {
-fx-border-style:dotted;
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
border-style "-fx-border-style: segments(1, 1, 1, 1);" is similar to dotted and is working