java me - Alert pop up with LWUIT -


how create pop window using lwuit? want show alert , alert automatically dispose after 5 10 sec's. how lwuit?

use code , show alert periodic time.

        dialog validdialog = new dialog("alert");         validdialog.setscrollable(false);         validdialog.setisscrollvisible(false);         validdialog.settimeout(5000); // set timeout milliseconds         textarea textarea = new textarea("...."); //pass alert text here         textarea.setfocusable(false);         textarea.setisscrollvisible(false);         validdialog.addcomponent(textarea);         validdialog.show(0, 100, 10, 10, true); 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -