Skip to content

i want to modify in java  #5

Description

@Akshay602

i want to modify the code in java eclipse but i have the following error how to solve it and any insight on it will be help full....

Unable to load image from file 'graphics/general_settings_1.png'
The file "graphics/general_settings_1.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
Unable to load image from file 'graphics/general_settings_2.png'
The file "graphics/general_settings_2.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "graphics/general_settings_3.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.Unable to load image from file 'graphics/general_settings_3.png'

Exception in thread "Animation Thread" java.lang.NullPointerException
at g4p_controls.GImageButton.(Unknown Source)
at g4p_controls.GImageButton.(Unknown Source)
at HomeLESS_Hit_Analyzer1.create_button_win_genereal_settings(HomeLESS_Hit_Analyzer1.java:269)
at HomeLESS_Hit_Analyzer1.setup(HomeLESS_Hit_Analyzer1.java:114)
at processing.core.PApplet.handleDraw(PApplet.java:2280)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
at processing.core.PApplet.run(PApplet.java:2176)
at java.lang.Thread.run(Thread.java:745)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions