-1

There is a TabbedPane of two Tabs :

tabClient.addTab("Fiche", cFicheClient);       // cFicheClient is a Container
tabClient.addTab("Crédits", cClientEtCredits); // cClientEtCredits is a Container

On the first Tab there is only few fields to display , on the second Tab there is a List containing many records not all displayed on the screen. The problem is that there is a vertical Scrollbar at the right of the screen even when the selected Tab is the first one. Here are images : So how to make the first panel keep its own height so that there is no vertical Scrollbar ?

Mun0n
  • 4,438
  • 4
  • 28
  • 46
pheromix
  • 18,213
  • 29
  • 88
  • 158

1 Answers1

3

If I understand the question correctly just set the parent form to scrollable false.

Shai Almog
  • 51,749
  • 5
  • 35
  • 65