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.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Tabs' position of JTabbedPane

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Thanked 0 Times in 0 Posts

    Default Tabs' position of JTabbedPane

    Hello everyone!

    I would like to know how can I set the tabs' position of JTabbedPane starting from the left.By default they are in a central position because i use Mac OS X.

    If you need more info please let me know.

    see this image to get an idea of what I get in my mac using the default JTabbedPane:

  2. #2
    Junior Member
    Join Date
    Nov 2012
    Windsor, Ontario
    My Mood
    Thanked 1 Time in 1 Post

    Default Re: Tabs' position of JTabbedPane

    Maybe this example will help you

    /**code removed*/
    Last edited by jps; November 9th, 2012 at 03:29 AM. Reason: spoonfeeding

  3. The Following User Says Thank You to MattDelly For This Useful Post:

    hamisto90 (November 9th, 2012)

  4. #3
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    My Mood
    Thanked 263 Times in 232 Posts

    Default Re: Tabs' position of JTabbedPane

    @MattDelly please read the problem with spoonfeeding.

Similar Threads

  1. Reading lines in files with tabs
    By imsuperman05 in forum Java Theory & Questions
    Replies: 1
    Last Post: January 14th, 2012, 12:05 PM
  2. Tabs
    By danty in forum AWT / Java Swing
    Replies: 1
    Last Post: June 19th, 2011, 06:09 PM
  3. Reusing Panel code in each tabs on a tabbed pane
    By kurt-hardy in forum Object Oriented Programming
    Replies: 4
    Last Post: March 23rd, 2011, 08:21 AM
  4. [SOLVED] simple question, coding unrelated, how to delete multiple tabs?
    By Perd1t1on in forum Java Theory & Questions
    Replies: 1
    Last Post: September 8th, 2010, 07:44 PM
  5. [SOLVED] How to close all tabs in JTabbedPane?
    By LeonLanford in forum AWT / Java Swing
    Replies: 7
    Last Post: June 28th, 2010, 10:58 AM