public void doLayout() { Dimension sz = getSize(); splitPane.setBounds(0, 0, sz.width, sz.height); splitPane.doLayout(); attrScrollPane.doLayout(); eltJTabbedPane.doLayout(); }
public void doLayout() { Dimension sz = getSize(); textAreaMessage.setBounds(0, 0, sz.width, 50); int xparts = (sz.width - (2 * 125)) / 3; buttonOk.setBounds(xparts, 55, 125, 40); buttonCancel.setBounds(xparts + 125 + xparts, 55, 125, 40); scrollPane.setBounds(0, 100, sz.width, sz.height - 100); scrollPane.doLayout(); }
public void doLayout() { Dimension sz = getSize(); dataScrollPane.setBounds(0, 0, sz.width, sz.height); dataScrollPane.doLayout(); }