ش | ی | د | س | چ | پ | ج |
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
//Import javax.swing.*; public class c01 extends javax.swing.JFrame { public c01() { // TODO Auto-generated constructor stub setTitle("This is my first window"); // setSize(640-30, 480-30); setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE); setVisible(true); setBounds(100, 100, 640 - 30, 480 - 30); } public static void main(String[] args) { // TODO Auto-generated method stub c01 c01_instance = new c01(); System.out.print("\n\n c01_instance.toString() = {{{ " + c01_instance.toString() + " }}} \n\n"); } } | ||