Topic: 关于Alert问题

  Print this page

1.关于Alert问题 Copy to clipboard
Posted by: simule
Posted on: 2005-05-29 13:16

我在使用Alert类时使用四个参数的构造函数如下:

Alert alert= new Alert("Warning","在这里显示一张图片",cover.PNG,AlertType.WARNING);

教材中都是在第3个参数设置为null,所以我不清楚第3个参数怎么设置才能显示图片,请教各位

2.Re:关于Alert问题 [Re: simule] Copy to clipboard
Posted by: why
Posted on: 2005-05-30 01:59

http://j2medevices.com/documentation/midp1.0/javax/microedition/lcdui/Alert.html#Alert(java.lang.String,%20java.lang.String,%20javax.microedition.lcdui.Image,%20javax.microedition.lcdui.AlertType)
http://j2medevices.com/documentation/midp1.0/javax/microedition/lcdui/Image.html

3.Re:关于Alert问题 [Re: simule] Copy to clipboard
Posted by: yinpeng263
Posted on: 2005-06-08 04:02

http://www.java2s.com/ExampleCode/J2ME/Alert.htm


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923