GridbagLayout

Status
Nicht offen für weitere Antworten.

maxth

Aktives Mitglied
Hallo,

ich hab noch nicht so viel Erfahrung mit Java GUI Programmierung. Mache von mir aus gerade ein Projekt wobei ich das sehr viel brauch. Also ich hab ein Panel in dem eine Toolbar und mehrere Textfelder sind. In meiner Klasse ShowViewer waren zum Test 2 Textfelder. Da ich bis zu 20-25 Textfelder brauch habe ich mir überlegt ein Gridbaglayout zu nehmen, da ich die Größe besser zuordnen kann. Und auch die Toolbar besser reinpasst.

Leider habe ich noch nicht so viel mit Gridbaglayouts gearbeitet. Anhand einem Beispiels habe ich mir das Gridbaglayout so gebaut wie ich möchte, nur ich hab keine Ahnung wie ich es mir umbauen kann)! denn in meinem Fall soll das kein FRame sein sondern ein Panel. Es soll so sein wie im ShowViewer nur das Gridbaglayout soll rein.

Klasse mit GridbagLayout

Java:
import java.awt.*;
import javax.swing.*;

public class GridBagLayoutDemo

{

	
	
	static void addComponent( Container cont,
                            GridBagLayout gbl,
                            Component c,
                            int x, int y,
                            int width, int height,
                            double weightx, double weighty )
  {
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.fill = GridBagConstraints.BOTH;
    gbc.gridx = x; gbc.gridy = y;
    gbc.gridwidth = width; gbc.gridheight = height;
    gbc.weightx = weightx; gbc.weighty = weighty;
    gbl.setConstraints( c, gbc );
    cont.add( c );
  }
  
  public static void main( String[] args )
  {
    JFrame f = new JFrame();
    f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    Container c = f.getContentPane();
    GridBagLayout gbl = new GridBagLayout();
    c.setLayout( gbl );
    //                                      x  y  w  h  wx   wy
    addComponent( c, gbl, new JTextField("1"), 0, 0, 1, 1, 0.5, 1.0 );
    addComponent( c, gbl, new JTextField("2"), 2, 0, 1, 1, 0.5  , 1.0 );
    addComponent( c, gbl, new JTextField("3"), 0, 1, 1, 1, 0.5  , 1.0  );
    addComponent( c, gbl, new JTextField("4"), 1, 1, 2, 1, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("5"), 0, 3, 2, 1, 0.5  , 1.0 );
    addComponent( c, gbl, new JTextField("6"), 1, 3, 2, 1,0.5  , 1.0  );
    addComponent( c, gbl, new JTextField("7"), 0, 5, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("8"), 2, 5, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("9"), 0, 7, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("10"), 2, 7, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("11"), 0, 9, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("12"), 2, 9, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("13"), 0, 11, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("14"), 2, 11, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("15"), 0, 13, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("16"), 2, 13, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("17"), 0, 15, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("18"), 2, 15, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("19"), 0, 18, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("20"), 2, 18, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("21"), 0, 21, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JTextField("22"), 2, 21, 1, 2, 0.5  , 1.0);
    addComponent( c, gbl, new JButton("23"), 0, 24, 3, 1, 0.5  , 1.0);
    
    
    f.setSize( 500, 400 );
    f.setVisible( true );
  }
}

Klasse mit ShowViewer (Klasse ist nur ein Panel, da sie in eine andere Gui übernommen wird.)

Java:
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JToolBar;
import javax.swing.SwingUtilities;
 
public class ShowViewer extends JPanel implements ActionListener{
    
    WohnungVerwalter wohnung = new WohnungVerwalter(); 
    
    String iconsDirectory = "icons/";
    
    int counter; 
 
        
      private JTextField textField1;
      private JTextField textField2;
    
    public ShowViewer(){
        super(); 
        
       
        this.setLayout(new BorderLayout());
        
        JToolBar toolBar = new JToolBar();
        addButtons(toolBar);
        addTextFelder();
        toolBar.setFloatable(false);
        toolBar.setRollover(true);
        
 
        
        this.add(toolBar, BorderLayout.NORTH);
       
        this.add(textField1, BorderLayout.CENTER);
        this.add(textField2, BorderLayout.SOUTH);
        
        
        
        
        
    }   
    
    public void addTextFelder (){
        textField1 = new JTextField();
        textField2 = new JTextField();
        
    }
    
    public void addButtons(JToolBar toolBar) {
        JButton button;
        button = createButton("links", "Zurück" );
        toolBar.add(button);
        button = createButton( "rechts", "Vorwärts" );
        toolBar.add(button);
        button = createButton("blume", "Bearbeiten");
        toolBar.add(button);
        button = createButton("delet", "Löschen");
        toolBar.add(button);
        
 
    }
 
    public JButton createButton(String actionCommand, String toolTipText) {
        String imgLocation = iconsDirectory + actionCommand + ".jpg";
        JButton button = new JButton();
        button.setActionCommand(actionCommand);
        button.setToolTipText(toolTipText);
        button.addActionListener(this);
        button.setIcon(new ImageIcon(imgLocation, actionCommand));
        
        return button;
            
    }
    
    
    
    
       public void showNext() {
            
            counter++;
            
            if (counter>=wohnung.list.size()) counter = 0;
            textField1.setText(wohnung.list.get(counter).getName());
            textField2.setText(wohnung.list.get(counter).getMieterName());
           
        
    }
        public void deleteCurrent(){
            
            String d;
            String s; 
            
            d = (wohnung.list.get(counter).getID());
            //vb.verbinden();
            
            s = "DELETE FROM `mkb`.`vermieter` WHERE `vermieter`.`ID` =" + d;
             
            
            
            
        }
      public void showLast() {
            
            counter--;
            
            if (counter<= 1) //counter = 0;
            textField1.setText(wohnung.list.get(counter).getName());
            textField2.setText(wohnung.list.get(counter).getMieterName());
            
 
        
        
    }
    
    public static void main (String[] args)
    {
        // man kann natürlich seine eigene JFrame-Klasse schreiben und diese hier
        // verwendent
        final JFrame myFrame = new JFrame("Fenstertitel");
        // Layouting des Frames: der ShowViewer ist Hauptkomponente und kommt in die Mitte
        myFrame.add( new ShowViewer(), BorderLayout.CENTER );
 
        // pack() setzt die Größe des Frames anhand des Inhaltes (daher PreferredSize von ShowViewer setzen
        myFrame.pack(); //oder setSize(800, 600);
        myFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        // Anzeigen des Frames
        SwingUtilities.invokeLater(new Runnable()
        
        {
            public void run()
            {
                myFrame.setVisible(true);
            }
        });
    }
 
    @Override
    public void actionPerformed(ActionEvent e) {
        if (e.getActionCommand().compareTo("rechts") == 0)
            this.showNext();
 
        
    }}

Vielen Dank für die Hilfe
 

diggaa1984

Top Contributor
ich mach das meistens so, das ich eine eigene Klasse für das Frame habe, und wiederum extra klassen für den inhalt des frames.
Das Frame hat bei immer ein BorderLayout mit Menü und Toolbar(North) und die einzige Komponente im Center ist die Klasse "MainPanel" sozusagen, welche irgendeine Gestalt haben kann, in deinem Fall ist es ein Panel mit GridBagLayout und diversen Textfeldern. So trenne ich schonmal Frame-spezifische Elemente vom eigentlichen Inhalt, der kann ja variieren und ich brauch die Toolbar oder Statusbar, sofern man eine hat nicht im Layout des Panels unterbringen, da es meiner Ansicht nach nix mit dem Panel zu tun hat (rein von der Sicht, welche Elemente eben zum Fenster gehörig sind und welche nicht). So weiss ich auch gleich wo ich schauen muss, und muss auch nicht erst grossartig suchen

Also:
Frame mit Borderlayout - Menü - Toolbar(North) - MainPanel (Center) - Statusbar (South wenn nötig)

MainPanel mit irgendnem Inhalt und Layout unabhängig von den ganzen Menüelementen.

Somit kannst du das Layout-Demo als MainPanel (extends JPanel) nutzen und bis auf die Textfelder kannst deine ShowViewer als MainFrame deklarieren (extends JFrame)
 

maxth

Aktives Mitglied
Vielen Dank für deine Antwort.

Ich habe noch eine Klasse die Main_Gui die als Frame deklariert ist. Und es funktioniert auch so wie du es mir gerade beschrieben hast. Gut zu hören das ich auf dem richtigen Weg bin = ).

Mein Problem hierbei ist lediglich das ich große Probleme habe, das Gridbaglayout in meine ShowView Klasse zubringen damit ich diese verwenden kann. PRoblem ist also: aus dem Gridbaglayout ein Panel zu machen und eine Toolbar und meine restliche elemente aus dem ShowViewer einzufügen.
 

diggaa1984

Top Contributor
PRoblem ist also: aus dem Gridbaglayout ein Panel zu machen und eine Toolbar und meine restliche elemente aus dem ShowViewer einzufügen.

hm teil 1 sollte nich so schwer sein, teil 2 sollte gar nicht sein :D .. die toolbar soll ja in die andere Frame-klasse rein, somit brauchst die net mit GridbagLayout platzieren.

Java:
import java.awt.*;
import javax.swing.*;
 
public class MainPanel extends JPanel {
 
    public MainPanel() {
        super();
        setup();
    }
   

    private void addComponent( Container cont,
                            GridBagLayout gbl,
                            Component c,
                            int x, int y,
                            int width, int height,
                            double weightx, double weighty ) {

    GridBagConstraints gbc = new GridBagConstraints();
    gbc.fill = GridBagConstraints.BOTH;
    gbc.gridx = x; gbc.gridy = y;
    gbc.gridwidth = width; gbc.gridheight = height;
    gbc.weightx = weightx; gbc.weighty = weighty;
    gbl.setConstraints( c, gbc );
    cont.add( c );
  }
  

  private void setup() {
    GridBagLayout gbl = new GridBagLayout();
    this.setLayout(gbl);

    //                                      x  y  w  h  wx   wy
    addComponent( this, gbl, new JTextField("1"), 0, 0, 1, 1, 0.5, 1.0 );
    addComponent( this, gbl, new JTextField("2"), 2, 0, 1, 1, 0.5  , 1.0 );
    addComponent( this, gbl, new JTextField("3"), 0, 1, 1, 1, 0.5  , 1.0  );
    addComponent( this, gbl, new JTextField("4"), 1, 1, 2, 1, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("5"), 0, 3, 2, 1, 0.5  , 1.0 );
    addComponent( this, gbl, new JTextField("6"), 1, 3, 2, 1,0.5  , 1.0  );
    addComponent( this, gbl, new JTextField("7"), 0, 5, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("8"), 2, 5, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("9"), 0, 7, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("10"), 2, 7, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("11"), 0, 9, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("12"), 2, 9, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("13"), 0, 11, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("14"), 2, 11, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("15"), 0, 13, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("16"), 2, 13, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("17"), 0, 15, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("18"), 2, 15, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("19"), 0, 18, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("20"), 2, 18, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("21"), 0, 21, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JTextField("22"), 2, 21, 1, 2, 0.5  , 1.0);
    addComponent( this, gbl, new JButton("23"), 0, 24, 3, 1, 0.5  , 1.0);
  }
}

so würde ich denken ist dein panel und nun brauchst ja nur noch die elemente wie Toolbar und menü aus der showviewer-klasse in deine mainFrame-Klasse schieben. Die showViewer würde dann sozusagen wegfallen

MainFrame wäre ca. sowas
Java:
public class MainFrame extends JFrame {

    public MainFrame() {
        super("AnyViewer");
        setup();
    }

    private void setup() {
        setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
        setLayout(new BorderLayout());

        //methoden wuerden dann komponenten erstellen, wie du es bisher auch machst
        this.setJMenuBar(getJMenuBar());
        this.add(getToolbar(), BorderLayout.NORTH);
        this.add(new MainPanel(), BorderLayout.CENTER);

        pack();
    }
}
 
Zuletzt bearbeitet:
Status
Nicht offen für weitere Antworten.
Ähnliche Java Themen
  Titel Forum Antworten Datum
O Swing GridBagLayout in Größe anpassen AWT, Swing, JavaFX & SWT 6
S GridBagLayout Felder formatieren AWT, Swing, JavaFX & SWT 1
S GridBagLayout - Probleme mit Bilderanzeige AWT, Swing, JavaFX & SWT 3
C GridbagLayout verstehen lernen AWT, Swing, JavaFX & SWT 1
H GridBagLayout macht mich wahnsinnig :-( AWT, Swing, JavaFX & SWT 5
BabySuna darstellungsprobleme mit JTabbedPane und GridBagLayout AWT, Swing, JavaFX & SWT 8
CptK Positionieren von Elementen in GridBagLayout AWT, Swing, JavaFX & SWT 4
A Probleme mit gridheight (GridBagLayout) AWT, Swing, JavaFX & SWT 6
Mario1409 AWT GridBagLayout AWT, Swing, JavaFX & SWT 5
J LayoutManager GridBagLayout, probleme mit Anordnung von Objekten AWT, Swing, JavaFX & SWT 6
DaCrazyJavaExpert Swing Komponenten in GridBagLayout werden Falsch angeordnet AWT, Swing, JavaFX & SWT 1
T LayoutManager Anordnen der Elemente im GridBagLayout AWT, Swing, JavaFX & SWT 11
K GridBagLayout mit reponsive Design AWT, Swing, JavaFX & SWT 2
K GridBagLayout verändert die größe? AWT, Swing, JavaFX & SWT 1
D Swing Größe einer JComboBox im GridBagLayout aufgrund der maximalen Länge der enthaltenen Daten AWT, Swing, JavaFX & SWT 7
B LayoutManager GridBagLayout und JScrollPane AWT, Swing, JavaFX & SWT 5
T GridBagLayout Anfängerprobleme AWT, Swing, JavaFX & SWT 3
Sin137 LayoutManager GridBagLayout Probleme AWT, Swing, JavaFX & SWT 6
L GridBagLayout Anordnung AWT, Swing, JavaFX & SWT 3
M Gridbaglayout Spaltenbreite AWT, Swing, JavaFX & SWT 3
M LayoutManager GridBagLayout passt seine größe nicht an AWT, Swing, JavaFX & SWT 3
V GridBagLayout AWT, Swing, JavaFX & SWT 4
N LayoutManager GridBagLayout - Grundlagen AWT, Swing, JavaFX & SWT 6
Neumi5694 Swing Gridbaglayout - automatische Anpassung verhindern AWT, Swing, JavaFX & SWT 1
P AWT Problem mit Platzierung (GridBagLayout) AWT, Swing, JavaFX & SWT 2
F Breite beim GridBagLayout festlegen AWT, Swing, JavaFX & SWT 2
M Swing GridBagLayout Komponentengröße festsetzen AWT, Swing, JavaFX & SWT 1
J GridBagLayout mit Hilfe einer For-Schleife befüllen AWT, Swing, JavaFX & SWT 1
W GridBagLayout Größe geben AWT, Swing, JavaFX & SWT 1
HarleyDavidson Swing Seltsames Verhalten GridBagLayout AWT, Swing, JavaFX & SWT 11
W GridBagLayout mit fester Zellgrösse AWT, Swing, JavaFX & SWT 2
N Swing GridBagLayout: Ein Pixel Versatz AWT, Swing, JavaFX & SWT 2
B Swing Gridbaglayout unterschiedliche Zeilenhöhe AWT, Swing, JavaFX & SWT 6
H LayoutManager GridBagLayout AWT, Swing, JavaFX & SWT 1
N GridBagLayout - was fehlt? AWT, Swing, JavaFX & SWT 8
S Swing rowHeight und rowWeight im GridBagLayout AWT, Swing, JavaFX & SWT 1
N Swing GUI mit GridBagLayout AWT, Swing, JavaFX & SWT 4
A jpanel mit gridbaglayout auf hintergrundbild AWT, Swing, JavaFX & SWT 7
S GridBagLayout-Frage AWT, Swing, JavaFX & SWT 1
G GridBagLayout AWT, Swing, JavaFX & SWT 6
S GridBagLayout "links-rechts-layouten" AWT, Swing, JavaFX & SWT 7
T LayoutManager GridBagLayout / erwartetes Raster fehlt AWT, Swing, JavaFX & SWT 3
X Gridbaglayout gridx + gridy auslesen? AWT, Swing, JavaFX & SWT 7
H GridBagLayout macht Probleme... AWT, Swing, JavaFX & SWT 4
N GridBagLayout - Zeitplan AWT, Swing, JavaFX & SWT 13
N Swing GridbagLayout AWT, Swing, JavaFX & SWT 4
S Swing gridbaglayout AWT, Swing, JavaFX & SWT 8
G GridBagLayout Problem AWT, Swing, JavaFX & SWT 4
Java-Insel LayoutManager Ein GridBagLayout-Objekt für mehrere Panels? AWT, Swing, JavaFX & SWT 2
X LayoutManager gridBagLayout wird nicht richtig Dargestellt AWT, Swing, JavaFX & SWT 5
das-mo Probleme mit GridBagLayout AWT, Swing, JavaFX & SWT 6
T LayoutManager GridBagLayout - zwei jTable mit unterschiedlicher Höhe AWT, Swing, JavaFX & SWT 2
N LayoutManager GridBagLayout schummeln erlaubt ? AWT, Swing, JavaFX & SWT 2
D GridBagLayout AWT, Swing, JavaFX & SWT 9
A Swing GridBagLayout - constraints.anchor scheint nicht korrekt zu funktionieren? AWT, Swing, JavaFX & SWT 7
J Swing Terminkalender Wochenansicht mit Gridbaglayout oder JTable AWT, Swing, JavaFX & SWT 16
C LayoutManager GridBagLayout - Anfängerfrage AWT, Swing, JavaFX & SWT 5
Asamandra LayoutManager GridBagLayout - Komponenten (mit fill?) vergrößern aber Proportionen dabei erhalten? AWT, Swing, JavaFX & SWT 3
R GridBagLayout in GridBagLayout AWT, Swing, JavaFX & SWT 2
H Positionierungsprobleme beim GridBagLayout AWT, Swing, JavaFX & SWT 16
Furtano AWT GridBagLayout macht mir Sorgen AWT, Swing, JavaFX & SWT 3
A GridbagLayout positionierungsproblem AWT, Swing, JavaFX & SWT 4
earlgrey_tea GridBagLayout Componenten proportional vergößern AWT, Swing, JavaFX & SWT 12
D JTable im GridBagLayout -> gridwidth AWT, Swing, JavaFX & SWT 6
T GridBagLayout Problem AWT, Swing, JavaFX & SWT 3
D Probleme mit GridBagLayout AWT, Swing, JavaFX & SWT 8
J Swing GridBagLayout: Links-nach-rechts Orientierung statt zentriert AWT, Swing, JavaFX & SWT 12
R Größe eines Labels bei GridBagLayout festlegen AWT, Swing, JavaFX & SWT 9
B GridBagLayout Problem AWT, Swing, JavaFX & SWT 3
M LayoutManager GridBagLayout AWT, Swing, JavaFX & SWT 11
E LayoutManager GridBagLayout in BorderLayout - Abstand bei Resizing AWT, Swing, JavaFX & SWT 2
Y LayoutManager Keine vollständige Darstellung der Tabelle mit GridBagLayout AWT, Swing, JavaFX & SWT 3
L LayoutManager GridBagLayout leere Zeilen AWT, Swing, JavaFX & SWT 4
H LayoutManager Layout mit GridBagLayout machbar? AWT, Swing, JavaFX & SWT 6
N GridBagLayout Problem AWT, Swing, JavaFX & SWT 6
C Swing JTable "zerstört" GridBagLayout AWT, Swing, JavaFX & SWT 9
N LayoutManager GridBagLayout Größe fixieren AWT, Swing, JavaFX & SWT 3
M GridBagLayout AWT, Swing, JavaFX & SWT 7
V Swing Gridbaglayout Leeres Fenster AWT, Swing, JavaFX & SWT 2
R LayoutManager GridBagLayout Fragen AWT, Swing, JavaFX & SWT 10
P LayoutManager Verständnis-Frage GridBagLayout AWT, Swing, JavaFX & SWT 7
M LayoutManager Einige Fragen zum GridBagLayout AWT, Swing, JavaFX & SWT 13
N GridBagLayout AWT, Swing, JavaFX & SWT 11
D Swing Problem mit Gridbaglayout bzw. Größenanpassung JPanels AWT, Swing, JavaFX & SWT 7
Y Swing GridbagLayout JTextfield zu klein AWT, Swing, JavaFX & SWT 5
L LayoutManager GridBagLayout spielt verrückt AWT, Swing, JavaFX & SWT 9
T LayoutManager GridBagLayout an Fenstergröße anpassen AWT, Swing, JavaFX & SWT 2
J Java GUI mit GridBagLayout AWT, Swing, JavaFX & SWT 3
Y LayoutManager Problem mit Gridbaglayout AWT, Swing, JavaFX & SWT 8
hdi LayoutManager GridBagLayout AWT, Swing, JavaFX & SWT 9
W GridBagLayout Falsche Größenanpassung AWT, Swing, JavaFX & SWT 6
R Swing Button-Größe in JPanel mit GridBagLayout nicht änderbar AWT, Swing, JavaFX & SWT 3
E Problem mit meiner GUI/GridbagLayout AWT, Swing, JavaFX & SWT 2
M LayoutManager GradientPaint auf GridBagLayout AWT, Swing, JavaFX & SWT 5
D LayoutManager GridBagLayout, Änderung zur Laufzeit AWT, Swing, JavaFX & SWT 4
G LayoutManager per Button GridBagLayout + Inhalt ändern AWT, Swing, JavaFX & SWT 2
M GridBagLayout zeilenweise füllen AWT, Swing, JavaFX & SWT 5
B Anzeigefehler in GridBagLayout durch paintComponent(Graphics g) AWT, Swing, JavaFX & SWT 3
hdi Swing Problem mit GridBagLayout AWT, Swing, JavaFX & SWT 2
E LayoutManager GridBagLayout kurz vorm Wahnsinn! AWT, Swing, JavaFX & SWT 22

Ähnliche Java Themen

Neue Themen


Oben