Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-03-2012, 09:20 AM   #1
LQ Newbie
Registered: Aug 2012
Posts: 3

Rep: Reputation: Disabled
Post java swings to display different panel in same frame

the below given is a java class which get invoked on clicking "next" button in first frame .and i send a parameter is i send getContentPane() to this given below program , here ill access the parameter and set its visibality to false , here i use "Back" button to go to previous page dats for ma first frame , but on clicking Back its not showing the previous frame for me , plz help me out with dis

public class signup extends JFrame{

public signup(Container d)
final Container c=d;
final Container e;
JButton back=new JButton("Back");

back.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent ev){



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I am getting shrinked display on my HP laptop display panel winu Linux - General 5 06-15-2010 03:26 PM
Java: How to define paint into a certain panel java GUI mitchell7man Programming 2 04-22-2010 01:18 AM
Can i Use shell script as backend & Java(Swings) as front end in Linux Platform ?? shivarajM Programming 1 04-26-2009 07:56 AM
calling a frame from another frame : JAVA randomx Programming 0 10-07-2004 02:49 PM
Display the current forum's questions in frame vharishankar LQ Suggestions & Feedback 6 09-10-2004 11:37 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration