![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2006
Posts: 5
Rep Power: 0
![]() |
please show me the simplest way of putting an image in a java aplication.thankx!
![]() |
|
|
|
|
|
#2 |
|
Sexy Programmer
|
ImageIcon icon = new ImageIcon("pic.jpg");
JLabel piclabel = new JLabel(icon);
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Oct 2006
Posts: 5
Rep Power: 0
![]() |
tkx reggaeton_king for the excelent answer!
|
|
|
|
|
|
#4 |
|
Sexy Programmer
|
you're welcome!
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
|
[php]
new JLabel(new ImageIcon("pic.jpg"));[/php] ..I win! ![]()
__________________
Pain is just weakness leaving the body.
|
|
|
|
|
|
#6 |
|
Sexy Programmer
|
...you suck! lol
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Displaying images from database | raikkonen | ASP | 2 | Apr 14th, 2006 2:03 PM |
| Blank images from CreateImages with animation cells | Flint50 | Java | 0 | Apr 10th, 2006 6:35 AM |
| manipulating pixels of images and saving them on a file | diamondustice | Visual Basic | 0 | Feb 21st, 2006 10:00 PM |
| SNR in color images | srishekh100 | C | 2 | Dec 2nd, 2005 11:38 PM |
| Water Mark your images with php | bambolin | PHP | 12 | Sep 24th, 2005 12:57 PM |