How To Add Background Image To Java GUI

Monday, August 1, 2011

To make a background image into JAVA GUI, You just follow this code below :

ImageIcon image = new ImageIcon("image.jpeg");

jpanel.add(image, BorderLayout.North);


Maybe To make Information System, You Can Use That Code. It's very easy.. Try
It... Maybe You'll can display an image like this :


In that program. I use image to display backround. The First, I think that very hard to do, but it's very easy. Now... Maybe You Like and more like with your java programming. Next Post I'll give you the best trick that I've found and the best trick that I've did. See U in the next Post....

1 comments:

Unknown said...

big up !!!!! thanks a lot man

Post a Comment

 
 
 
 
Copyright © Programming Tricks