2016-12-05から1日間の記事一覧
サンプル 例1:ボタンを縦に並べる import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; public class BoxLayoutDemo { public static void main(String[] args) { JFrame frame = new JFram…
サンプル 例1:ボタンを縦に並べる import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; public class BoxLayoutDemo { public static void main(String[] args) { JFrame frame = new JFram…