A voir également:
- [java - swing]JTabbedPane et JSplitPane
- Waptrick java football - Télécharger - Jeux vidéo
- Java apk - Télécharger - Langages
- Jeux java itel football - Télécharger - Jeux vidéo
- Jeux java itel 5360 ✓ - Forum Mobile
- Jeux pour itel 5330 - Forum Mobile
2 réponses
choubaka
Messages postés
39375
Date d'inscription
jeudi 4 avril 2002
Statut
Modérateur
Dernière intervention
14 avril 2024
2 100
29 oct. 2005 à 10:42
29 oct. 2005 à 10:42
salut
1)
void setSelectedIndex(int)
void setSelectedComponent(Component)
Select the tab that has the specified component or index. Selecting a tab has the effect of displaying its associated component.
2)
là tu peux donner un valeur minimale, il est possible aussi de donner une valeur max ..
1)
void setSelectedIndex(int)
void setSelectedComponent(Component)
Select the tab that has the specified component or index. Selecting a tab has the effect of displaying its associated component.
2)
//Create a split pane with the two scroll panes in it. splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, listScrollPane, pictureScrollPane); splitPane.setOneTouchExpandable(true); splitPane.setDividerLocation(150); //Provide minimum sizes for the two components in the split pane Dimension minimumSize = new Dimension(100, 50); listScrollPane.setMinimumSize(minimumSize); pictureScrollPane.setMinimumSize(minimumSize);
là tu peux donner un valeur minimale, il est possible aussi de donner une valeur max ..
29 oct. 2005 à 11:27