Adding tabs problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sl1ver
    New Member
    • Mar 2009
    • 196

    Adding tabs problem

    Hi there

    Im visually adding tabs in netbeans 5.5 . I figured out that you add tabs by actually adding a whole new tabbedpane, it works but everytime i add a button or sumthing it creates a whole new tab just filled with a button

    How do i add it?
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by Sl1ver
    Hi there

    Im visually adding tabs in netbeans 5.5 . I figured out that you add tabs by actually adding a whole new tabbedpane, it works but everytime i add a button or sumthing it creates a whole new tab just filled with a button

    How do i add it?
    By using one of the addTab() methods on the JTabbedPane.

    kind regards,

    Jos

    Comment

    • Sl1ver
      New Member
      • Mar 2009
      • 196

      #3
      thanx man, if i add it programitically will it appear on my visual design? coz i do know about the addtab() function, i just thought there would be a way of doing it visually

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by Sl1ver
        thanx man, if i add it programitically will it appear on my visual design? coz i do know about the addtab() function, i just thought there would be a way of doing it visually
        Don't use those GUI builders or designers or what they're called; they're nothing but trouble if you haven't thorougly read the manual.

        kind regards,

        Jos

        Comment

        Working...