Subtrees hinzugefügt

This commit is contained in:
Thomas Schaller 2024-12-29 14:26:34 +01:00
parent e913ca6350
commit 7cf55ce953
53 changed files with 3807 additions and 0 deletions

View file

@ -0,0 +1,38 @@
/**
*
* Beschreibung
*
* @version 1.0 vom 25.01.2016
* @author
*/
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import java.util.*;
import java.awt.image.BufferedImage;
public class JMyButton extends JButton {
// Anfang Attribute
private Nachricht nachricht;
private JComboBox empfaenger;
// Ende Attribute
public JMyButton(Nachricht nachricht, JComboBox cb, ImageIcon ii) {
super(ii);
this.nachricht = nachricht;
this.empfaenger = cb;
}
// Anfang Methoden
public Nachricht getNachricht() {
return nachricht;
}
public JComboBox getEmpfaenger() {
return empfaenger;
}// Ende Methoden
} // end of JMyLabel