spacecowboy123 0 Newbie Poster

Hi All,

I am new to java and am trying to display an image that i have loaded from disk in a GUI I have made by creating a class that extends Frame.

I have several buttons and labels in a few different panel. All i want to do is have the image about a quarter of the size of the GUI, but in the same GUI as all the other buttons etc.

I have a feeling a may have to overide the paint(), but am not sure.

I appreciate any help.

Regards

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.