fin tp01
This commit is contained in:
16
DEV3.2/TP01/03_Frequence/Main.java
Normal file
16
DEV3.2/TP01/03_Frequence/Main.java
Normal file
@@ -0,0 +1,16 @@
|
||||
import javax.swing.JLabel;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
JLabel[] tab = new JLabel[5];
|
||||
|
||||
tab[0] = new JLabel("OK");
|
||||
tab[1] = new JLabel("KO");
|
||||
tab[2] = new JLabel("WOW");
|
||||
tab[3] = new JLabel("LE NOMBRE LA");
|
||||
tab[4] = new JLabel("OK");
|
||||
|
||||
System.out.println(Frequence.frequence(args));
|
||||
System.out.println(Frequence.frequence(tab).getText());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user