Let me know if you need more code than this!
I can run the program perfectly fine in Eclipse. But once I access the files and run java Frame in Terminal, it only shows part of my game. It doesn't show any of the .png files.
Here is my main method:
import javax.swing.*;
import java.awt.*;
public class Frame extends JFrame {
public static String title = "Tower Defense Alpha";
public static Dimension size = new Dimension(700, 550);
public Frame() {
    setTitle(title);
    setSize(size);
    setResizable(false);
    setLocationRelativeTo(null);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    init();
}
public void init(){
    setLayout(new GridLayout(1,1,0,0));
    Screen screen = new Screen(this);
    add(screen);
    setVisible(true);
}
public static void main(String args[]){
    Frame frame = new Frame();
}
}
And here is how I am accessing the files in Eclipse, which doesn't seem to work in Terminal:
for (int i=0; i<tileset_ground.length; i++) {
        tileset_ground[i] = new ImageIcon("res/tileset_ground.png").getImage();
        tileset_ground[i] = createImage(new FilteredImageSource(tileset_ground[i].getSource(), 
                                        new CropImageFilter(0, 26*i, 26, 26)));
    }
 
    