This commit is contained in:
Emmanuel Srivastava
2025-02-11 14:59:41 +01:00
parent 5b86f6f95b
commit d803766702
3 changed files with 34 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
import javax.swing.*;
import java.awt.*;
public class Sautoir extends JComponent {
private Image img;
public Sautoir() {
super();
}
@Override
protected void paintComponent(Graphics pinceau) {
Graphics secondPinceau = pinceau.create();
secondPinceau.setColor(this.getForeground());