471,086 Members | 1,279 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

menus and submenus

N002199B
Hie Guru's

I am trying to write code that can be re-used by simple calls to build menus and submenus on mobile devices.

I have heard about the cascading menus design pattern, but do not understand it. I hear it can be a solution and read this document at Big Designs for small devises .

It seems good, but i still cannot start building menus and submenus in j2me.

Can anyone shed some light as to how to best go about this

Regards
Jan 27 '08 #1
2 2973
markmcgookin
648 Expert 512MB
Hie Guru's

I am trying to write code that can be re-used by simple calls to build menus and submenus on mobile devices.

I have heard about the cascading menus design pattern, but do not understand it. I hear it can be a solution and read this document at Big Designs for small devises .

It seems good, but i still cannot start building menus and submenus in j2me.

Can anyone shed some light as to how to best go about this

Regards

In .Net you can create a menu item with the following code, and add it to the main menu, MainMenu1

Expand|Select|Wrap|Line Numbers
  1. MenuItem menuItemx = new MenuItem();
  2. menuItemx.Text = "123";
  3. mainMenu1.MenuItems.Add(menuItemx);
  4.  
Jan 28 '08 #2
In .Net you can create a menu item with the following code, and add it to the main menu, MainMenu1

Expand|Select|Wrap|Line Numbers
  1. MenuItem menuItemx = new MenuItem();
  2. menuItemx.Text = "123";
  3. mainMenu1.MenuItems.Add(menuItemx);
  4.  
that may be true in .Net, but I wonder if it works in j2me. I am trying to do it in J2ME, and I am thinkinking of actually handling the drawing code myself instead of using the list and other such lcdui classes.

I hope I am clear, and am willing to be corrected
Jan 28 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Marci | last post: by
4 posts views Thread by Bratislav Jevtic | last post: by
1 post views Thread by paulakeijzers | last post: by
4 posts views Thread by DDmUSA | last post: by
2 posts views Thread by bnashenas1984 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.