I am triing to incorporate images on a button in my code but I am getting an error. The error on new Image line 1 is - Cannot instantiate the type .
The error on line 2 setImage - change to alternatives. What am I doing wrong?
I would like to incorporate the file text and I would also like to know how incorprate the text separately that is without using the file text.
Image buttonImage1 = new Image("images/Ok.jpg");