Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Re: swing cardlayout(want to create several cards using panel but failed plz help)

    Look at the code on line 57 and see what it is trying to do.
    Then look at the code in the tutorial to see how it is done there.
  2. Re: swing cardlayout(want to create several cards using panel but failed plz help)

    I'd rather you learn how to solve your programming problems, so I'll let you read the tutorial and work on your problem.

    Does the code give any errors when executed?
  3. Re: swing cardlayout(want to create several cards using panel but failed plz help)

    Did you read the tutorial at the link I posted? It has examples of using CardLayout.


    Read the API doc for the class and method for an explanation of the methods. It should all be there
  4. Re: swing cardlayout(want to create several cards using panel but failed plz help)

    Have you seen the tutorial? It has an example you could copy and work with.
    How to Use CardLayout (The Java™ Tutorials > Creating a GUI With JFC/Swing > Laying Out Components Within a Container)
    ...
  5. Re: swing cardlayout(want to create several cards using panel but failed plz help)

    Please explain what the problem is. If there are errors copy the full text of the message and post it here.
    Please edit your post and wrap your code with


    <YOUR CODE HERE>

    to get...
Results 1 to 5 of 5