Thread View: borland.public.Jbuilder
2 messages
2 total messages
Started by Henrik M�rtensson
Thu, 17 Feb 2000 00:00
Showing an image in a frame
Author: Henrik M�rtensson
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
11 lines
1114 bytes
1114 bytes
Hi
I'm trying to show an image in a frame but I'm not very successful... why ?
pen_im = Toolkit.getDefaultToolkit().getImage("d:/Henrik/Lab3/pencil.jpg");
g2.drawImage(pen_im, new AffineTransform(1f,0f,0f,1f,20,20), null);
Thanks
/Henrik
Re: Showing an image in a frame
Author: JLP
Date: Fri, 18 Feb 2000 00:00
Date: Fri, 18 Feb 2000 00:00
7 lines
1014 bytes
1014 bytes
Why don't you try a picture box control? They are easy to use! Jeremy Sent via Deja.com http://www.deja.com/ Before you buy.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads