java - Can Anyone Tell me How to get system date in Jtextfield? -
t2=new jtextfield(5); this.add(t2); t2.setbounds(450,50,100,20);
this query !! knows answer?
try like:
date date = new date();//you use calander , formatter if need date in particular format. t2.settext(date.tostring());
Comments
Post a Comment