Search:

Type: Posts; User: shashi87

Search: Search took 0.10 seconds.

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

    when i execute this program A frame wid two buttons appear but when i click on next button this exception is displayed as output...

    Exception in thread "AWT-EventQueue-0"...
  2. Re: swing cardlayout(want to create several cards using panel but failed plz help)

    and this is very humble request to u if possible correct my code that i posted earlier....
  3. Re: swing cardlayout(want to create several cards using panel but failed plz help)

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;

    public class CardLayoutDemo implements ItemListener {
    JPanel cards; //a panel that uses CardLayout
    final static String...
  4. Re: swing cardlayout(want to create several cards using panel but failed plz help)

    sir actually I am unable to understand the concept of card layout
    whether a frame should have card layout or a panel should have card layout and how it works
    and in the above code i tried according...
  5. swing cardlayout(want to create several cards using panel but failed plz help)

    package swing1;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;

    public class card1
    {
    JFrame f;
    JButton b1,b2;
    JPanel p,p1,p2,p3;
Results 1 to 5 of 5