ich habe folgendes Objekt erstellt, um mir meine Arbeit einfacher zu machen:
Code (Text):
import javax.swing.JButton;
public class Button extends JButton
{
private static final long serialVersionUID = 5305849638670968302L;
JButton button;
public Button (String text, int x, int y, int width, int height)
{
button = new JButton();
button.setText(text);
button.setSize(width, height);
button.setLocation(x, y);
}
}
Objekt funktioniert nicht auf iOS
Objekt funktioniert nicht auf iOS
0 commentaires:
Enregistrer un commentaire