• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i want to insert Folder Option in the menuitem through the Netbean

 
sabin ran
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im trying to use the Netbean, i wanna insert the folder option in the menu item like 'Save' but im not being able to do so..
please provide me the steps to perform..

thanks cheers
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sabin ran wrote:im trying to use the Netbean, i wanna insert the folder option in the menu item like 'Save' but im not being able to do so..
please provide me the steps to perform..

thanks cheers


Hello and welcome to JavaRanch!

Please TellTheDetails

What "folder options" do you mean? Do you mean you'd like to display a JFileChooser when a menu item has been selected? If so, what have you tried? What isn't working, or what specifically don't you understand? And have you studied the Sun/Oracle tutorials?

Best of luck and again, welcome!
 
sabin ran
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for reply,
ya i meant to say JFileChooser..i can manually code to display JFileChooser when the MenuItem is clicked but in NetBean a simple drag and drop is not working for me... i am still goggling for the tutorial that will show me how to

please recommend me anything nice.. im self learning NetBean

cheers
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My recommendation to you is to put the NetBeans-generated code to the side for a bit, and to first learn to do a bit of Swing coding by hand. It's not hard to do, and once you understand it, if you want to go back to using code-generation, you'll have a far greater understanding on what you're doing. The tutorials can show you how: Using Swing Components
 
sabin ran
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks reply

i have learned how to add JFilechooser through the NetBean and you are right i should get myself used to at the manual coding part..
thanks for suggestion and link.

cheers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic