Thursday, September 29, 2011

JPanel's and Backgrounds

I've finally started to get back coding after my summer vacation.  It's good to be getting my feet wet again, I've missed it! I've started working on a updating and adding to an existing java project, mostly for fun. I've been trying to get a background picture to show up on JPanels but haven't found a really good way of doing that. Currently I'm using a JLabel but when the other elements are added to the JPanel it pushes my picture off the screen.  So, I'm going to try to override the paintComponent method and see if that works... Hopefully I'll find a solution quick and my homework won't start to suffer!!!

//END OF LINE

No comments:

Post a Comment