This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to display image using awt?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to display image using awt??" Watch "how to display image using awt??" New topic
Author

how to display image using awt??

reehan ishaque
Ranch Hand

Joined: Mar 25, 2001
Posts: 54
hi folks!
im appending some text to TextArea but i also want to append some image along with text. how can i do it using awt components, not swings. i think TextArea probably wont supportthis . swing components like JTextPane n JEditorPane might support this. but i want to use awt components. so any idea how to do this???
thanx
James Tan
Greenhorn

Joined: Apr 23, 2002
Posts: 13
BufferedImage is suitable for your purpose, and you could draw it on a panel.


James Tan<br />SUN Certificated Programmer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to display image using awt??
 
Similar Threads
hi
JTextArea problem
Reading a file in ScrollPane
TextArea limitation
Printing reports in AWT