で基本を作成する必要がLogin FormありSwingますJButton ActionListner。だから私は次のコードを書きました:
private void Balance() throws IOException {
getContentPane().removeAll();
JPanel test = new JPanel();
JLabel singin = new JLabel();
javax.swing.ImageIcon icon = createImageIcon(
"https://dl.dropboxusercontent.com/u/20476478/Capture.PNG",
"a pretty but meaningless splat");
singin.setIcon(icon);
test.add(singin);
getContentPane().add(test);
repaint();
printAll(getGraphics());
}
以下のようなUIを作成します。

But i am looking for this:

いろいろ試してみましたが、上記のような寸法に収まりませんでした。を学び始めたばかりで、Swing