Java program language 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) home15: https://www.compadre.org/OSP/document/ServeFile.cfm?ID=7375&DocID=527 An Introduction to Computer Simulation Methods | Science Chat Room 1 Person Chatting Similar Conversations |