Differences

This shows you the differences between two versions of the page.

Link to this comparison view

poo:breviare:breviar-09 [2025/11/30 17:18]
george.tudor1906 [Breviar 9]
poo:breviare:breviar-09 [2025/12/01 13:01] (current)
carmen.odubasteanu [Breviar 9]
Line 1: Line 1:
  
 ====== Breviar 9 ====== ====== Breviar 9 ======
-{{:​poo:​laboratoare:​lab8.zip|Arhiva laborator}} 
  
 === Interfețe grafice (GUI) === === Interfețe grafice (GUI) ===
Line 74: Line 73:
         button = new JButton("​Apasa"​);​         button = new JButton("​Apasa"​);​
         add(button);​         add(button);​
-        show(); 
         pack();         pack();
 +        setVisible(true);​
     }     }
  
Line 119: Line 118:
         button.addActionListener(this);​         button.addActionListener(this);​
         add(button);​         add(button);​
-        show(); 
         pack();         pack();
 +        setVisible(true);​
     }     }
  
Line 184: Line 183:
         pass = new JPasswordField(15);​         pass = new JPasswordField(15);​
         add(pass);         add(pass);
-        show(); 
         pack();         pack();
 +        setVisible(true);​
     }     }
  
Line 257: Line 256:
         scroll = new JScrollPane(textArea);​         scroll = new JScrollPane(textArea);​
         add(scroll);​         add(scroll);​
-        show(); 
         pack();         pack();
 +        setVisible(true);​
     }     }
  
poo/breviare/breviar-09.1764515887.txt.gz · Last modified: 2025/11/30 17:18 by george.tudor1906
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0