Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can anyone help out to meet this criteria

 
Manoj Ruban
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just in case you are stuck, you can show us the code and we could be able to help you better
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/new-java/40404-can-anyone-help-out-meet-criteria.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic