This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Need to be able to have center panel change images 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 "Need to be able to have center panel change images" Watch "Need to be able to have center panel change images" New topic
Author

Need to be able to have center panel change images

Damian Zabielski
Greenhorn

Joined: Apr 24, 2011
Posts: 2
Damian Zabielski
Greenhorn

Joined: Apr 24, 2011
Posts: 2
The problem lies in that I do not know how to have each of the right buttons make a new image appear in the center
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Okay, but which part of that are you having a problem with? There are two parts to that question:

  • How to make a button cause something to happen
  • How to make an image appear somewhere
  •  
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Need to be able to have center panel change images
     
    Similar Threads
    JPopupMenu or JMenu - neither is quite what I'm after.
    unable to remove spaces between buttons(making a calculator)
    Question about layout
    help on reading textfield on 1 class from another class and using it to create a file
    Query on ProgressBar(Help plz)