Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Textbook on image

 
Len Padson
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic