Search:

Type: Posts; User: vitorloke

Search: Search took 0.24 seconds.

  1. Replies
    12
    Views
    606

    Re: help to checking the error!!

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

    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
    606

    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
    606

    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
    606

    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
    606

    Re: help to checking the error!!

    pls refer the image on below:
    1190
  7. Replies
    12
    Views
    606

    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...
  8. Re: need help for the few question for java program!!

    for part a
    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...
  9. Re: need help for the few question for java program!!

    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class jframe {

    public static void main(String[] args) {
    JFrame jj=new JFrame("adjust");

    int i=200;
  10. Re: need help for the few question for java program!!

    please refer my attachment on below!

    1183
  11. Re: need help for the few question for java program!!

    for q4!my program on below,cab you let me know why i click the button,why can not change the size?please help!!

    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class...
  12. need help for the few question for java program!!

    i have some confuse this dew question!can you let me know how to solution this few question!thank you!!!pls refer the attachment!

    11791180
Results 1 to 12 of 12