*
The moose likes Java Micro Edition and the fly likes Image as Form title Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Image as Form title" Watch "Image as Form title" New topic
Author

Image as Form title

Debojit Nag
Ranch Hand

Joined: Jul 19, 2005
Posts: 44
Hi all
How could I set an image as a Form title. As per the API Form class constructor don't get any image .

Regards
Debojit


Thanks,<br />Debojit Nag
Jay Sanchez
Greenhorn

Joined: Sep 07, 2005
Posts: 6
I think you can. When you create a Form object, you have two types of constructor to use:

Form myform = mew Form("Form Title");
Form myform = mew Form("Form Title", "/images/image.png");

From what I gather and what I've seen, the image is actually used to display the form title.


Regards,<br /> <br />Jay
Vijay Dogra
Greenhorn

Joined: Sep 16, 2004
Posts: 22
Originally posted by Jay Sanchez:
I think you can. When you create a Form object, you have two types of constructor to use:

Form myform = mew Form("Form Title");
Form myform = mew Form("Form Title", "/images/image.png");

From what I gather and what I've seen, the image is actually used to display the form title.


I think there is no such API for setting image in MIDP2.0
I only found two APIs as follows:
Form myform = new Form("Form Title");
Form myform = new Form("Form Title", <Array of Item objects to be in form> ;
Correct me if I am wrong

Vijay
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"Vijay",
Please take a closer look at the link in your previious warning.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

thanks,
Dave.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image as Form title