Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need help.  RSS feed

 
Chetak Desai
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am quite new to Java. I have created an interface using border layout, which has two different images. one in the East and other in the west. i have a button in the center. On clicking the button i am supposed to transfer image from the East to West and vice versa. I have put the images in Labels and added them to Panels and added the Panels to the container. can anyone help me out
Thanks
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds a little bit like a homework assignment. What have you tried so far? Is something not working, or have you not even tried to .remove() and .add() and .reValidate(). Oh, wait, I just gave away methods to use. Any, let's see what you have tried so far so we can better you help you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!