Search:

Type: Posts; User: vitorloke

Search: Search took 0.07 seconds.

  1. Replies
    12
    Views
    1,745

    Re: help to checking the error!!

    i mean just want to set (200,100) and (300,200)
  2. Replies
    12
    Views
    1,745

    Re: help to checking the error!!

    how to use the index variable to the setSize() method to change the size!since i just want to change by 2 difference type!so how to create the statement?
  3. Replies
    12
    Views
    1,745

    Re: help to checking the error!!

    yup!when i run this program the frame size only chenge 1 time only,if i click again the frame size cannot changer to other!can you let me how to modify the statement!
  4. Replies
    12
    Views
    1,745

    Re: help to checking the error!!

    this is my last modify code:

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

    public class tma2 extends JFrame implements ActionListener
    {
    private JButton m_btn1;
    private...
  5. Replies
    12
    Views
    1,745

    Re: help to checking the error!!

    can you let me know why i just only change 1 time only!if i want to click each time to change the size then how to modify?below is my code:


    import javax.swing.*;
    import java.awt.*;
    import...
  6. Replies
    12
    Views
    1,745

    Re: help to checking the error!!

    pls refer the image on below:
    1190
  7. Replies
    12
    Views
    1,745

    help to checking the error!!

    the question is You can change the size of a JFrame by using the setSize(int h, int v) method, where h and v give the horizontal and vertical dimensions of the applet’s window in pixels. Write a GUI...
Results 1 to 7 of 7