Search:

Type: Posts; User: Souperk

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    3,954

    [SOLVED] Re: Set Invisible or close a frame

    I used the following code


    JButton b = new JButton();
    b.addActionListener(new ActionListener() {

    @Override
    public void actionPerformed(ActionEvent arg0)
    {...
  2. Replies
    9
    Views
    3,954

    [SOLVED] Re: Set Invisible or close a frame

    Thank you I made it work with 2 new Action Listener.
  3. Replies
    9
    Views
    3,954

    [SOLVED] Re: Set Invisible or close a frame

    if you mean this

    JFrame frame = new JFrame();
    frame.setVisible(true);
    frame.setVisible(false);



    i tried that
  4. Replies
    9
    Views
    3,954

    [SOLVED] Re: Set Invisible or close a frame

    First of all, sorry for not specifying my question.

    Now my question: How can i set invisible a frame when a press a button.

    I hope this will help you to help me.

    Thanks in advance,
    Kostas
  5. Replies
    9
    Views
    3,954

    [SOLVED] Set Invisible or close a frame

    Hello!
    I want to make a program which
    1) will open a frame with a button.
    2) When I press the button it will open a new frame with another button.
    3)When I press the button of the second frame I...
Results 1 to 5 of 5