mercredi 10 août 2016

GUI Button Postition festlegen

mercredi 10 août 2016
Hey, könnte mir jemand sagen, warum ich die Buttons oder Labels mittels .setLocation oder .setBounds nicht an eine andere Postition setzen kann? Eine Alternative oder ein Lösungvorschlag wäre sehr willkommen! :)

Code (Java):
public class frame extends JFrame {

    private static final long serialVersionUID = 1L;
    public int posX=0;
    public int posY=0;

    public frame() throws AWTException{
        setLayout(null);
        setSize(474, 307);
        setAlwaysOnTop(true);...
GUI Button Postition festlegen

GUI Button Postition festlegen

0 commentaires:

Enregistrer un commentaire

 
◄Design by Pocket