You shouldn't mix Swing with JavaFX like that. I don't know if that's part of your problem.
Why do you have "banking" in your path to dot.png? Try just
If that doesn't work, tell us if this is a Maven project, an Ant project, or something else (that is, what does this project use to build with?)
All things are lawful, but not all things are profitable.
When dealing with resources I always recommend absolute paths unless you know and control against wich root reletive paths are resolved.
As an example: When I try to dynamically load additional modules at runtime I first have to find where they are in the filesystem. To determine this path I can either specify it as absolute like user.home and go on from there relative (System.getProperty("user.home") always gives a path that can be passed to the File(String) constructor and will result in a useable, writeable and executeable folder) or can get the current directory my application is placed and use this as a base directory. Be aware that the second approach could end up in a directory the current user doesn't have the needed rights.
When you bundle resources along with your application they're available in the current context classpath. Then you should be fine to use relative paths to the root of the classpath. The resolving to an actual or virtual File is then handled by the VM.