I have made a window, some buttons and a textfield in Scene Builder.
In Scene Builder:
But when I run my program via netbeans or double clicking on the .jar file, its runs fine but just the color does not show. Background becomes white. And specially the textfield, I created it dark color, it also becomes white. You can understand my problem if you check the secreenshots.
After running the program:
There is no error in my code. I do not understand why it is happening so. It supposed to show the exact color which is defined by me. Can anyone help me?
You can also see my fxml code here http://pastebin.com/1sif2Dsq