Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 6th, 2006, 8:48 AM   #1
deviantstefan
Newbie
 
Join Date: Oct 2006
Posts: 5
Rep Power: 0 deviantstefan is on a distinguished road
Unhappy images

please show me the simplest way of putting an image in a java aplication.thankx!
deviantstefan is offline   Reply With Quote
Old Oct 6th, 2006, 8:58 AM   #2
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 3 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
ImageIcon icon = new ImageIcon("pic.jpg");
JLabel piclabel = new JLabel(icon);
How simple was that!
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Oct 6th, 2006, 9:10 AM   #3
deviantstefan
Newbie
 
Join Date: Oct 2006
Posts: 5
Rep Power: 0 deviantstefan is on a distinguished road
tkx reggaeton_king for the excelent answer!
deviantstefan is offline   Reply With Quote
Old Oct 6th, 2006, 9:56 AM   #4
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 3 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
you're welcome!
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Oct 6th, 2006, 2:22 PM   #5
AntiNinja
Hobbyist Programmer
 
AntiNinja's Avatar
 
Join Date: Jun 2006
Location: The States
Posts: 101
Rep Power: 3 AntiNinja is on a distinguished road
Send a message via AIM to AntiNinja Send a message via Yahoo to AntiNinja
[php]
new JLabel(new ImageIcon("pic.jpg"));[/php]
..I win!
__________________
Pain is just weakness leaving the body.
AntiNinja is offline   Reply With Quote
Old Oct 6th, 2006, 2:27 PM   #6
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 3 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
...you suck! lol
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying images from database raikkonen ASP 2 Apr 14th, 2006 1:03 PM
Blank images from CreateImages with animation cells Flint50 Java 0 Apr 10th, 2006 5:35 AM
manipulating pixels of images and saving them on a file diamondustice Visual Basic 0 Feb 21st, 2006 9:00 PM
SNR in color images srishekh100 C 2 Dec 2nd, 2005 10:38 PM
Water Mark your images with php bambolin PHP 12 Sep 24th, 2005 11:57 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:47 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC