The moose likes Swing / AWT / SWT and the fly likes Textbook on image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Textbook on image" Watch "Textbook on image" New topic

Textbook on image

Len Padson
Ranch Hand

Joined: Nov 21, 2011
Posts: 40
I want to make a program with a full screen image with a text box ON TOP OF the image. I know how to do the full screen, and i know how to insert the image, but is there a way to add a JTextBox on top of the image, at a fixed position (where I specify the coordinates)???
Rob Spoor

Joined: Oct 27, 2005
Posts: 19656

Don't add a JLabel with an ImageIcon, but instead use something like Rob Camick's background panel. This allows you to add the JTextBox (you probably mean JTextArea) to that panel the usual way.

How To Ask Questions How To Answer Questions
I agree. Here's the link: http://aspose.com/file-tools
subject: Textbook on image
Similar Threads
An HTML page
Scroll images
MIDP1: runtime resizing images: it's possible?
view image in full screen
Applet Size