Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to draw dynamic menu

 
Faisal Rahman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to make dyanamic menu in midlet where is format menu like this "{a{aa,ab{aba,abb,abc},ac,ad},b{ba,bb{bba,bbb,bbc}},c{ca,cb,cc},d{da,db,dc,dd,de}}
"

example if i chose "a" menu , the midlet show with tree menu "aa,ab,ac,ad" and if i choose sub menu "ab", will show "aba,abb,abc",pls help me how about algolrithm or example to draw menu on canvas,thanks...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic