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 Can anyone help out to meet this criteria 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 "Can anyone help out to meet this criteria" Watch "Can anyone help out to meet this criteria" New topic
Author

Can anyone help out to meet this criteria

Manoj Ruban
Greenhorn

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
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

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
Sheriff

Joined: Oct 13, 2005
Posts: 38044
    
  22
And welcome to the Ranch
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/new-java/40404-can-anyone-help-out-meet-criteria.html


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can anyone help out to meet this criteria
 
Similar Threads
how to make two Div display in same line ?
instanceof operator
Populating fields with data on clicking radio button
Can a servlet access the bean created by the JSP
dynamic swing panel