java
1コードpanel = new MatiPanel(Back); 2 button.setHorizontalAlignment(JButton.RIGHT); 3 panel.setLayout(null); 4 button = new JButton(cr3);//cr3に画像が入ってる 5 button.setHorizontalAlignment(JButton.BOTTOM); 6 button.setBounds(400, 100, 300, 140); 7 button.setText("スライム");//ここの文字を下側に配置したい 8 button.setActionCommand("13"); 9 button.addActionListener(this); 10 panel.add(button);
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。