i mean just want to set (200,100) and (300,200)
Type: Posts; User: vitorloke
i mean just want to set (200,100) and (300,200)
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?
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!
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...
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...
pls refer the image on below:
1190
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...
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...
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;
please refer my attachment on below!
1183
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...
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