JButton[] kbtn= new JButton[38];
private void setpanelx(){
panelx.setLayout(new GridLayout());
for(int i=0;i<38;i++){
kbtn[i].setText(Integer.toString(i));
kbtn[i].setSize(30,20);
kbtn[i].add(panelx);
}
}
BU KOD NEDEN ÇALIŞMAZ NULLPOINTEREXCEPTİON ATIYOR
Cant you see the writing on the wall?
"die young gonna die young"
So! Live for today
Tomorrow never comes..
|