'Displaying several clear images at once

I'm making a Poker game with Java. I designed my FXMl to have a background image and images for the cards that I want to show up below the five textfields. However, I can't get the card image to show.

Image of what I'm seeing: https://i.stack.imgur.com/WktdU.png

I managed to get both image views to show an image once but I tried other things and lost track of what I did. So, I haven't been able to get both images to show again. When it did show though, both ImageViews showed the same background image instead of one - the background, and the second one - the card image.

I need help with the exact coding to be able to display both the background and card images and how to get the images to be clear (they turn up blurry). Thank you, I appreciate it! (I'm starting with displaying one card and the background but eventually I will need to display all 10 cards and the background image.)

Here is the code that I am trying to implement right now: (No red just doesn't do anything)

@Override
public void initialize(URL url, ResourceBundle rb) {
    java.io.File file = new java.io.File("whitePoker.jpg");
    Image img = new Image(file.toURI().toString(), 159, 250, true, true);
    imgPokerBackground.setImage(img);
    
    java.io.File fileDefaultCard = new java.io.File("CardLogo.png");
    Image imgDefaultCard = new Image(fileDefaultCard.toURI().toString(), 159, 250, true, true);
    img1.setImage(imgDefaultCard);

I also tried: (No red just didn't do anything)

@Override
public void initialize(URL url, ResourceBundle rb) {
    java.io.File file = new java.io.File("whitePoker.jpg");
    Image img = new Image(file.toURI().toString(), 159, 250, true, true);
    imgPokerBackground.setImage(img);
    
    java.io.File fileDefaultCard = new java.io.File("CardLogo.png");
    Image imgDefaultCard = new Image(file.toURI().toString(), 159, 250, true, true);
    img1.setImage(imgDefaultCard);

And: (red on entire bottom part of "java.io.File" code)

@Override
public void initialize(URL url, ResourceBundle rb) {
    java.io.File file = new java.io.File("whitePoker.jpg");
    Image img = new Image(file.toURI().toString(), 159, 250, true, true);
    imgPokerBackground.setImage(img);
    
    java.io.File file = new java.io.File("CardLogo.png");
    Image img = new Image(file.toURI().toString(), 159, 250, true, true);
    img1.setImage(img);


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source