TP
This commit is contained in:
17
DEV2.1/Sudoku/Graphique.java
Normal file
17
DEV2.1/Sudoku/Graphique.java
Normal file
@@ -0,0 +1,17 @@
|
||||
import java.awt.*;
|
||||
import javax.swing.*;
|
||||
|
||||
public class Graphique extends JFrame {
|
||||
|
||||
public Graphique() {
|
||||
this.setSize(600, 600);
|
||||
this.setLocation(100, 100);
|
||||
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
||||
this.setLayout(new GridLayout(9, 9));
|
||||
|
||||
for (int i = 0; i != 81; i++) {
|
||||
this.add(new JTextField());
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user