• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTabbedPane  RSS feed

 
P Jain
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I have a JTabbedPane, which contains two tabs one is pane1 and pane2.
pane1 contains one button and a text field and pane2 contains Image Label.
When I enter some image file name and click that button the image on the pane2 will change according to the value o text field in the pane1.

How can I do this.
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the setIconAt(int index, Icon icon) method in JTabbedPane
Ed
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!