• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

newline issues with J2ME?

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Has anyone else experienced any issues using "\n" or '\n' in J2ME. I've noticed that the T616 does not recognize "\n" when appending to a menu as follows:

Thanks,
Greg
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My understanding is that there are no newline characters in midp. Or atleast, manufacturers are not required to implement a newline character. Its one of my personal pet peeves in UI design, but atleast it forces you to be consistent.
 
Greg Schwartz
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone verify that MIDP doesn't suppport newline characters as mentioned above?

Without the support of newline characters, is it possible to control what text appears on what line in a List. I am would like to have a list of items, each of which contain certain number of components. These components need to each appear on a separate line or they would obviously run off of the screen. At the same time, these components must be part of one list selection when scrolling down the list.

Currently I am doing the following:



If anyone has any suggestions on how to accomplish this without using newline characters, please let me know.

Thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic