collapse collapse

* Who's Online

  • Dot Guests: 121
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Board Stats

  • stats Total Members: 88
  • stats Total Posts: 11164
  • stats Total Topics: 1700
  • stats Total Categories: 4
  • stats Total Boards: 76
  • stats Most Online: 1470

Author Topic: Creating a picture.  (Read 1838 times)

0 Members and 1 Guest are viewing this topic.

Offline isaro

  • Software Developer
  • Administrator
  • Sr. Member
  • *
  • Posts: 393
  • Reputation 505
  • Gender: Male
    • View Profile
Creating a picture.
« on: January 07, 2010, 04:32:33 pm »
Anyone have a good example of Java code where it is simply putting an uploaded picture into an applet. ( or application )

I just want to see how they uploaded the picture.
0001 + 1000 = 1001

Offline GodLord

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 477
  • Reputation 800
  • Gender: Male
  • C++/Java Developer
    • View Profile
Re: Creating a picture.
« Reply #1 on: January 07, 2010, 08:12:39 pm »
Code: Java
  1.  
  2. Image pic = Toolkit.getDefaultToolkit().getImage("gui1.gif");  
  3.  if(pic != null) painter.drawImage(pic, 15, 5, this);  

 

Donate


* Search


* Recent Posts

I miss the chatbox by Shishka
[August 27, 2019, 11:52:39 pm]


Image Comparison by Shishka
[May 15, 2017, 01:18:02 pm]


Re: srchub - free source code hosting by Nathan
[December 14, 2015, 11:37:02 pm]


Re: srchub - free source code hosting by Celestialkey
[November 27, 2015, 08:51:42 am]


Updates by Nathan
[October 30, 2015, 08:27:36 pm]