Results 1 to 2 of 2
  1. #1
    phil128 is offline Member
    Join Date
    Sep 2008
    Rep Power

    Default JMenu with Tabs using swing

    Hello. I really need help in creating an interface with tabs and a menu bar kinda like this:

    but without the close button as all i need are tabs. I'm not too sure if i have to create another container. i.e. one for the menubar and one for my tabs. Or would an internal frame work? But i guess using an internal frame i'll have to create another title for that seperate frame.

    Thanks people

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Rep Power


    Start with a JFrame, and add a JMenu to that. That will give you a menu bar. Also, add a JTabbedPane. That will give you tabs.

Similar Threads

  1. setSelectedIndex (How to move between tabs)
    By lolshooter in forum New To Java
    Replies: 4
    Last Post: 02-02-2010, 04:15 PM
  2. JMenu to JPopupMenu
    By carderne in forum New To Java
    Replies: 0
    Last Post: 02-28-2009, 07:07 PM
  3. Adding Tabs to JTabbedPane
    By blackstone in forum AWT / Swing
    Replies: 2
    Last Post: 11-14-2007, 04:15 PM
  4. resize tabs in jtabbedpane
    By osval in forum New To Java
    Replies: 1
    Last Post: 08-02-2007, 04:02 AM
  5. JMenu and JRadioButtonMenuItem
    By doron70 in forum AWT / Swing
    Replies: 3
    Last Post: 07-18-2007, 07:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts