Hijo de puta y sus equivalentes hijo de puta, hijo de puta, "Tu madre la perra" o "Tu puta madre" son expresiones del vocabulario insultante que se utilizan como insulto. Están relacionados con el tabú de la sexualidad de la madre, así como con cuestiones de filiación.
This commit is contained in:
parent
d53e7eb661
commit
6eb213d667
BIN
APL2.1/TP9/Volume/Fenetre.class
Normal file
BIN
APL2.1/TP9/Volume/Fenetre.class
Normal file
Binary file not shown.
@ -11,7 +11,7 @@ public class Fenetre extends JFrame {
|
|||||||
JPanel panneau = new JPanel();
|
JPanel panneau = new JPanel();
|
||||||
panneau.addMouseWheelListener(new Souris(draw));
|
panneau.addMouseWheelListener(new Souris(draw));
|
||||||
panneau.add(draw);
|
panneau.add(draw);
|
||||||
panneau.setBackground (Color.BLUE);
|
panneau.setBackground (Color.BLACK);
|
||||||
this.add(panneau, BorderLayout.CENTER);
|
this.add(panneau, BorderLayout.CENTER);
|
||||||
this.pack();
|
this.pack();
|
||||||
|
|
||||||
|
BIN
APL2.1/TP9/Volume/Paintvolume.class
Normal file
BIN
APL2.1/TP9/Volume/Paintvolume.class
Normal file
Binary file not shown.
42
APL2.1/TP9/Volume/Paintvolume.java
Normal file
42
APL2.1/TP9/Volume/Paintvolume.java
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
import javax.swing.*;
|
||||||
|
import java.awt.event.*;
|
||||||
|
import java.awt.*;
|
||||||
|
|
||||||
|
public class Paintvolume extends JComponent {
|
||||||
|
private int volume = 5;
|
||||||
|
public Paintvolume() {
|
||||||
|
super();
|
||||||
|
this.setPreferredSize(new Dimension(500, 100));
|
||||||
|
}
|
||||||
|
|
||||||
|
public void upVolume() {
|
||||||
|
if (volume != 9) {
|
||||||
|
volume++;
|
||||||
|
this.repaint();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public void downVolume() {
|
||||||
|
if (volume != 0) {
|
||||||
|
volume--;
|
||||||
|
this.repaint();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void paintComponent(Graphics pinceau) {
|
||||||
|
Graphics secondPinceau = pinceau.create();
|
||||||
|
if (this.isOpaque()) {
|
||||||
|
secondPinceau.setColor(this.getBackground());
|
||||||
|
secondPinceau.fillRect(0, 0, this.getWidth(), this.getHeight());
|
||||||
|
}
|
||||||
|
secondPinceau.setColor(Color.ORANGE);
|
||||||
|
int x1, x2;
|
||||||
|
for (x1 = 0; x1<volume; x1++) {
|
||||||
|
secondPinceau.fillOval( 5*(x1+1) + (this.getWidth()*x1/10) ,25, 50, 50);
|
||||||
|
}
|
||||||
|
secondPinceau.setColor(Color.GRAY);
|
||||||
|
for (x2 = x1; x2<9; x2++) {
|
||||||
|
secondPinceau.fillOval( 5*(x2+1) + (this.getWidth()*x2/10) ,25, 50, 50);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
APL2.1/TP9/Volume/Souris.class
Normal file
BIN
APL2.1/TP9/Volume/Souris.class
Normal file
Binary file not shown.
BIN
APL2.1/TP9/Volume/Volume.class
Normal file
BIN
APL2.1/TP9/Volume/Volume.class
Normal file
Binary file not shown.
14
APL2.1/TP9/Volume/Volume.java
Normal file
14
APL2.1/TP9/Volume/Volume.java
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
import javax.swing.*;
|
||||||
|
import java.awt.event.*;
|
||||||
|
import java.awt.*;
|
||||||
|
|
||||||
|
public class Volume {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
|
||||||
|
Fenetre f = new Fenetre();
|
||||||
|
f.setVisible (true);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user