>> Delete No. 51533 article
No. [질문]자바 질문?

등록 2002-06-26 21:25:00 By localhost     조회 6
이름 sangbub    

		#java Why
  Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type VirtualBinding
Warning: Cannot convert string "<Key>Home,_Key_Begin" to type VirtualBinding
Warning: Cannot convert string "<Key>F1,_Key_Help" to type VirtualBinding
Warning: Cannot convert string "Shift<Key>F10,_Key_Menu" to type VirtualBinding
Warning: Cannot convert string "<Key>F10,Shift_Key_Menu" to type VirtualBinding
Warning: Cannot convert string "<Key>KP_Enter,_Key_Execute" to type VirtualBinding
Warning: Cannot convert string "Alt<Key>Return,Alt_Key_KP_Enter" to type VirtualBinding
Exception in thread "main" java.lang.NullPointerException
	at Why.<init>(Why.java:17)
	at Why.main(Why.java:28)
     소스임다 ..
 import java.awt.*;
 public class Why
{
	TextField tf<>;
	Frame f;
	Panel p;
 	public Why()
	{
		f = new Frame("Temp");
		p = new Panel();
		String s<>={"1","2","3","4"};
 		for(int i=0;i<s.length;i++)
		{
			tf[i] = new TextField(s[i]);
			p.add(tf[i]);
		}
 		f.add(p,BorderLayout.CENTER);
		f.setSize(400,400);
		f.setVisible(true);
	}
 	public static  void main(String args<>)
	{
		Why w = new Why();
	}
}--이 곳에 서명을 적어주십시오.
그날이 오면...
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved