473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 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 3053
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

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

Similar topics

1
by: Venkatesh | last post by:
Hi Everybody, This is the first timw I am entering into this Group. I am developing a VB Project with an MDI form. I want to display IE Favorites into my application. For this I need to...
7
by: Marci | last post by:
I found this script for cascading menus, however, I cannot reach the author to solve the bug I am having when I add a second menu to it. My problem is this: If I click on the first link, the...
1
by: paula | last post by:
I've got a problem with asp.net i am trying to make a menu control. and have searched the web for serveral controls but they don't work correctly. I am pretty new to asp.net building. What am i...
4
by: Bratislav Jevtic | last post by:
hi, we developed an application having server-side menus. however, I'm interested for: 1. some nice client side drop down menus. ideal solution would be something like windows menus in...
1
by: paulakeijzers | last post by:
I've got a problem with asp.net i am trying to make a menu control. and have searched the web for serveral controls but they don't work correctly. I am pretty new to asp.net building. What am i...
14
by: axlq | last post by:
I am trying to figure out what is the minimal simplest CSS I can have to accomplish a row of tabs, with one or more tabs having a drop-down menu when you hover over it -- AND the whole tab+menu...
4
by: DDmUSA | last post by:
I am using a CSS-based glossy menu that I found on Dynamic Drive. Using Internet Explorer 7, the sub-menus appear towards the right once the mouse is pointing over the top level. Using Firefox, all...
2
by: bnashenas1984 | last post by:
Hi everyone I have a table in MySQL which contains menus and submenus. Table : + ID + Parent ID + Name + | 1 | 0 | Computer | | 2 | 0 | furniture | | 3 | ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.