File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image as Form title

 
Debojit Nag
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jay Sanchez
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vijay Dogra
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic