• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

how to display Form and Canvas based UI together?

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all, I'm developing a peer peer chat using J2ME which display textbox contains a list of online devices/users and images that are arranged on the left side and below the textbox.
The problem is I can't display form based and canvas based UI together, I heard that using CustomItem can solve but I have no idea of how to use it.
Anyone can help me please?
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What obstacle is preventing you from using the Form UI for this?
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi -

I posted a message in response to this yesterday.we lost the thread due to disk crash according to Mark.

The problem you are facing as I understand is that you want to use both lower level API(Canvas etc..) and higher level API (Form, etc) of MIDP in a single dispalyable object. We cannot do that, you can use only one of the two. If you need absolutely need lower level control on the display , you can use Canvas and write you own Form UI element ( not the one provided by MIDP's high level API). There are open source toolkits available which have UI elements developed from MIDP's low level API, you van use them.

Hope this helps ...

Satyam.
 
pingkan paula
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank's for the feedbacks, I want to display the lists of online mobile users similar to console based UI
I decided to use TexBox since I don't know how to figure it out with canvas :roll:
 
reply
    Bookmark Topic Watch Topic
  • New Topic