Hi Everyone,
I wanted to get some suggestions on how to make a Menu that functions like the Bookmarks/Favorites Menu in our Browsers.
What imports should i use?
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hi Everyone,
I wanted to get some suggestions on how to make a Menu that functions like the Bookmarks/Favorites Menu in our Browsers.
What imports should i use?
Hello oiradranlom.
Welcome to the Java Programming Forums
Are you looking for a menu drop down? If so, try this link:
http://www.javaprogrammingforums.com...plication.html
Please use [highlight=Java] code [/highlight] tags when posting your code.
Forum Tip: Add to peoples reputation by clicking the button on their useful posts.
Hi, it's good to be here!
Well, actually that would be a basic way of making a menu. The program that I am working on is more complex than that.
Basically,
I am working on a menu which whould work like any bookmark or favorites menu.
Instead of links and folders a user should be able to add as many folders to it and as many files as he/she wishes.
The problem that I have is as following:
I can make a menu bar with 2x JMenu for folders and 1xJMenuItem for files.
In this case each of these objects would get their data from files and they would read them in using while loops..
All that works but the problem is that a user cannot add more then 2xJMenus and more then 1 jMenuItem...
I wanted something that is flexible...
I could include the code but there are 2 parts to the program and it is over 600 lines...