Java program language

home15
home15: let's post our code here
3 years ago Report
0
home15
home15: /////////////////////////////////
import javax.swing.*;
class JustAFrame extends JFrame{
public JustAFrame(int a,int b){
super("Simple" );
setSize(a,b);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);}
}
class MyFrame{
public static void main(String args[]){
JustAFrame frame=new JustAFrame(300,200);
}}
///////////////////////
(Edited by home15)
3 years ago Report
0
home15
home15: program creates Simple window
3 years ago Report
0
home15
home15: https://www.compadre.org/OSP/document/ServeFile.cfm?ID=7375&DocID=527
An Introduction to Computer Simulation Methods
3 years ago Report
0