Does anyone know how to insert a .jpeg into the JPanel of a GUI window?
axiss 0 Newbie Poster
Recommended Answers
Jump to Posthi everyone,
See this thread below
http://www.daniweb.com/techtalkforums/thread10088.htmlI hope this helps you
Yours Sincerely
Richard West
Jump to PostYou can read about multimedia in java.sun.com... Anywayz I give you the base idea:
ImageIcon image = new ImageIcon("image.jpeg"); jpanel.add(image, BorderLayout.North);
All 7 Replies
freesoft_2000 9 Practically a Master Poster
nanosani 20 Technize.net addict Team Colleague
pillaiyar 0 Newbie Poster
waqas shah 0 Newbie Poster
kei_near 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
HappyCat123 0 Newbie Poster
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.