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.

Results 1 to 4 of 4

Thread: Bookmarks/Favorites Menu

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Bookmarks/Favorites Menu

    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?


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Bookmarks/Favorites Menu

    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.

  3. #3
    Junior Member
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Bookmarks/Favorites Menu

    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...

  4. #4
    Junior Member
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Bookmarks/Favorites Menu

    I could include the code but there are 2 parts to the program and it is over 600 lines...

Similar Threads

  1. Help with Menu/BinSearch
    By jhar131 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 19th, 2010, 07:38 PM
  2. JFrame Menu Screen(For my game)?
    By DarrenReeder in forum Java Theory & Questions
    Replies: 2
    Last Post: March 8th, 2010, 04:07 AM
  3. ArrayList and making a Menu
    By Silver in forum Collections and Generics
    Replies: 2
    Last Post: January 28th, 2010, 03:29 AM
  4. Help - Return to menu screen
    By throzen in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 29th, 2009, 01:44 PM
  5. Building a Menu List
    By websey in forum AWT / Java Swing
    Replies: 1
    Last Post: November 15th, 2009, 10:34 AM