Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Nisha Gor   on Jul 03 In Java Category.

  
Question Answered By: Sophia Campbell   on Jul 03

//mnuName is not an array, but mnuTmpName is...
mnuBar.add(mnuName [mnuCount]= new Menu(mnuTmpName));

//try...
mnuBar.add(mnuName = new Menu(mnuTmpName[mnuCount]));

Share: