Seems to me you put the JScrollPane inside the JTabbedPane the same way
you would any other Component:

JTabbedPane tabs = new JTabbedPane();
Component c = ...; // The item to display in the JTabbedPane
JScrollPane scroll = new JScrollPane(c);
tabs.addTab(scroll);

-Kev.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of Aleksandr Kravets
> Sent: November 26, 2002 4:31 AM
> To: [EMAIL PROTECTED]
> Subject: JScrollPane inside JTabbedPane
> 
> 
> Hello,
> 
> Does anybody know how to include JScrollPane inside JTabbedPane? I'am
> looking for a way to make the whole viewable area of 
> JTabbedPane scroll.
> 
> thanks,
> Alex

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to