This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Logos or Pics for JPanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Logos or Pics for JPanel" Watch "Logos or Pics for JPanel" New topic
Author

Logos or Pics for JPanel

Rik Ny
Greenhorn

Joined: Oct 13, 2001
Posts: 13
How do I place a pic or logo of my own on a JPanel??
Shiekh Naveed Akhter
Greenhorn

Joined: Apr 10, 2002
Posts: 2
u can use paint method in JPanel to paint a picture:
public void paint(Graphics g)


[Smart Rancher]
Jeff Smith
Ranch Hand

Joined: May 04, 2001
Posts: 50
Create a JLabel and set that label's icon to your pic/logo, then just add the label to your panel.
Jeff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logos or Pics for JPanel
 
Similar Threads
What to draw on?
Poping up a JPanel in JApplet
remove method
WA #2 ..... word association
obtaining the component tree for a particular JPanel