It's not a secret anymore!
The moose likes Swing / AWT / SWT and the fly likes Can anyone help out to meet this criteria Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Can anyone help out to meet this criteria" Watch "Can anyone help out to meet this criteria" New topic

Can anyone help out to meet this criteria

Manoj Ruban

Joined: Mar 12, 2011
Posts: 2
hi to all

i'm a beginner to java i have been trying to create something like the interface is divided into two panes on the left side buttons appear and on the right side content of the button is displays so when you click a button on the left side then the contents will be changed on the right side accordingly the button is pressed

can anyone tell me which method i should use to meet this criteria
i even tried JsplitPane but i exactly don't what to use
Rob Spoor

Joined: Oct 27, 2005
Posts: 20275

A JSplitPane with on the right side a JPanel that uses a CardLayout. Use the Java tutorial from Oracle for more information on that last class.

Moving to our GUI forum.

How To Ask Questions How To Answer Questions
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3152

Just in case you are stuck, you can show us the code and we could be able to help you better

Mohamed Sanaulla | My Blog
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46375
And welcome to the Ranch
Darryl Burke

Joined: May 03, 2008
Posts: 5115

Please BeForthrightWhenCrossPostingToOtherSites

luck, db
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: Can anyone help out to meet this criteria
It's not a secret anymore!